Las
fa2e6e7d9d
Implement pointer-constraints protocol in wlroots and rootston
6 years ago
Las
57690594f4
Remove extraneous indentation and conform to coding style
6 years ago
Las
59dd1dddba
Update pointer focus when cycling focus
6 years ago
Las
cf9debf82e
Make roots_cursor::pointer_view available even if there is a surface
...
To find out whether there was a surface or not before a movement, the member
roots_cursor::wlr_surface has been added.
6 years ago
emersion
fc960e5d06
layer-shell: add _v1 suffix
6 years ago
Ilia Bozhinov
2e6eb097b6
rootston: focus newly-created surfaces
...
Whenever a new surface is created, we have to update the cursor focus,
even if there's no input event. So, we generate one motion event, and
reuse the code to update the proper cursor focus. We need to do this
for all surface roles - toplevels, popups, subsurfaces.
Fixes #1162
6 years ago
emersion
7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
emersion
3c0d672ebd
surface: make pending and current embedded structs
6 years ago
Dorota Czaplejewicz
a94c56a828
rootston: Keep focus unchanged when non-focusable element clicked
...
Before this change, a view would lose focus after clicking something that's not keyboard-interactive. This would lead to edge cases with layer-shell windows like input methods, which are pointer-only-interactive, but are not intended to change the state of any focus.
7 years ago
emersion
db84379242
Send axis source event
7 years ago
emersion
0b58579564
Add support for discrete axis values
7 years ago
emersion
6e7c0b57f6
cursor: use NAN for unspecified axes, refactor absolute warping code
7 years ago
Drew DeVault
56deff41b6
Implement input inhibit in rootston
7 years ago
Drew DeVault
d88f3c1eb3
Fix segfault when clicking rootston desktop
7 years ago
Drew DeVault
333ab59902
Add wlr_surface_is_*_surface
...
And wlr_*_surface_from_wlr_surface
7 years ago
Drew DeVault
37036df822
Handle layer surfaces below shell surfaces
7 years ago
Drew DeVault
746e3759b7
Address review feedback
7 years ago
Drew DeVault
662f40b8ae
Refactor cursor event passhtrough
7 years ago
emersion
865b0aa123
xwayland: rename map_notify to map for consistency
7 years ago
Drew DeVault
ac219cbda6
Remove width_mm from tablet events
7 years ago
Drew DeVault
324b9d910d
Remove width_mm from wlr_touch events
7 years ago
Drew DeVault
a35a5786b0
Remove width_mm from wlr_pointer events
7 years ago
Dominique Martinet
a491f780b8
rootston rotation: change view->rotation sign
...
The convetion with wlr_matrix changed and it's a good time to remove
all these pesky minus signs
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
cdd55b5d19
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
Vincent Vanlaer
147e5c0f8f
Refactor roots_cursor_press_button
...
Removed the button_count check when resizing/moving/rotating ends,
since all buttons presses are now properly tracked.
7 years ago
Vincent Vanlaer
6567a35903
Update seat pointer on meta move/resize/rotate
...
This will send the button pressed event to the client. This shouldn't
be a problem since sebsequent pointer movements are not sent to the
client. Thus the client will not for example start selecting text when
it is being resized using the compositor keybindigns.
7 years ago
Vincent Vanlaer
7e3bb39d49
Always notify seat on button press
...
When the cursor is not over a view, wlr_seat_pointer_notify_button is
not called. However, this function does the bookkeeping of the pointer
state with regards to the number of pressed buttons. Because this
function also sends updates to the focused view, it has been moved
down, after the focus has been updated.
7 years ago
emersion
7111dd79ef
rootston: damage tracking for rotated views
7 years ago
emersion
3f96427d08
Merge branch 'output-damage' of github.com:emersion/wlroots into output-damage
7 years ago
emersion
2ad7df8680
rootston: damage tracking for drag icons
7 years ago
Tony Crisci
fc627afd18
fix decorations on wayland backend
7 years ago
Tony Crisci
e8c407d00e
rename wlr_deco_part to roots_deco_part
7 years ago
Tony Crisci
54776dd19c
fix cursor issue
7 years ago
Tony Crisci
4183271475
make it work with rotation
7 years ago
Tony Crisci
61bd79200c
basic decorations
7 years ago
Tony Crisci
069f120b70
rootston: remove input event ring buffer
7 years ago
emersion
9e2d936b4a
Fix rootston seat button count
7 years ago
emersion
925497fbea
Set default cursor image in rootston
7 years ago
Tony Crisci
d74ac69f7b
bring edges into wlr
7 years ago
emersion
dcb168914e
Merge branch 'master' into fullscreen
7 years ago
emersion
9a6f799d8f
Add fullscreen command, fix view_at with fullscreen views
7 years ago
emersion
1d08d31709
Merge branch 'master' into laggy-move-resize
7 years ago
emersion
ac6385689f
Set min view size to 1x1
7 years ago
emersion
7904b625f0
Merge branch 'master' into laggy-move-resize
7 years ago
emersion
97ddd2d1df
Add roots_seat_cycle_focus
7 years ago
emersion
bf41e7a794
Make the close command use roots_seat_get_focus, rename a few symbols
7 years ago
emersion
a8b31da52c
Remove roots_seat_{add,remove}_view
7 years ago
emersion
76e8e1a6ad
Merge branch 'master' into seat-views
7 years ago
Tony Crisci
bd8cdf1e9f
rootston: remove grab listeners
7 years ago