Patrick Steinhardt
52cb19d99d
rootston: fix compilation without XWayland support
...
In case wlroots is not being compiled with XWayland support, we will not
have an xwayland surface in our roots view. While we make sure to pay
attention to that in some places, we are not being consistent and try to
access the xwayland surface in other places. Obviously, this leads to a
compiler error due to the field not being present.
Fix the issue by sprinkling in a few additional ifdefs where required.
2018-01-28 12:07:15 +00:00
Tony Crisci
fc627afd18
fix decorations on wayland backend
2018-01-23 08:07:03 -05:00
Tony Crisci
7474f00591
Merge branch 'master' into decorations
2018-01-21 15:09:33 -05:00
Tony Crisci
b6f29e87e8
dont use pointer for modifiers
2018-01-17 08:31:15 -05:00
Tony Crisci
43896af90f
Merge branch 'master' into modifier-fixes
2018-01-17 08:27:47 -05:00
emersion
6e9c652fc4
rootston: hide cursor if seat has no pointer
2018-01-17 14:01:13 +01:00
Tony Crisci
61bd79200c
basic decorations
2018-01-16 19:04:26 -05:00
emersion
7f56ccd713
rootston: set real seat capabilities
2018-01-16 20:33:55 +01:00
Heghedus Razvan
440cf7112d
Include idle protocol in rootston
...
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
2018-01-10 14:33:00 +02:00
Tony Crisci
b40a5f084a
keyboard grab enter with modifiers
2018-01-06 11:06:09 -05:00
Dominique Martinet
a477e5d302
roots_seat_destroy: also destroy seat in public function
...
Rework the functions a bit so that the handler does the bulk of the work
except for destroying the seat itself, and the main public function
just explicitely calls the handler and destroys the seat
2017-12-29 20:32:01 +01:00
Dominique Martinet
689004ff21
rootston seat: implement part of roots_seat_destroy
...
... and have it listen to seat destroy notifier
2017-12-29 19:00:51 +01:00
Björn Esser
ff13849624
config: Avoid clash with other config-headers
2017-12-27 17:13:58 +01:00
Björn Esser
57a09c8ca4
config: Put all defines into config.h
2017-12-26 18:51:27 +01:00
emersion
51db087210
Introduce fractional scaling
2017-12-15 01:00:03 +01:00
emersion
925497fbea
Set default cursor image in rootston
2017-12-11 10:36:22 +01:00
Tony Crisci
b275d44bc3
rootston xcursor fixes
2017-12-09 12:10:09 -05:00
Tony Crisci
4c60072be5
move get_resize_name to xcursor
2017-12-08 06:08:06 -05:00
Tony Crisci
d74ac69f7b
bring edges into wlr
2017-12-08 06:03:57 -05:00
emersion
0191f3f711
Improve roots_seat_cycle_focus
2017-11-19 21:54:11 +01:00
emersion
9687950de1
Raise the view on the desktop even if already focused in the seat
2017-11-19 19:30:48 +01:00
emersion
97ddd2d1df
Add roots_seat_cycle_focus
2017-11-19 19:21:18 +01:00
emersion
bf41e7a794
Make the close command use roots_seat_get_focus, rename a few symbols
2017-11-19 19:14:31 +01:00
emersion
a8b31da52c
Remove roots_seat_{add,remove}_view
2017-11-19 18:15:11 +01:00
emersion
76e8e1a6ad
Merge branch 'master' into seat-views
2017-11-19 17:56:26 +01:00
Tony Crisci
bd8cdf1e9f
rootston: remove grab listeners
2017-11-19 10:20:32 -05:00
Tony Crisci
3b74db467b
data-device: wlr-drag-icon
2017-11-19 09:33:55 -05:00
emersion
72d877658a
Merge branch 'master' into seat-views
2017-11-18 22:18:25 +01:00
Tony Crisci
f17c3947ea
rootston: seat/cursor 80col cleanup
2017-11-18 14:03:31 -05:00
Tony Crisci
f277f28eef
Merge branch 'master' into feature/wlr-seat-touch
2017-11-18 13:43:25 -05:00
emersion
5b13f51dfc
Add per-seat cursor configuration
2017-11-18 17:34:24 +01:00
emersion
bb6d34e7a5
rootston: add per-seat views
2017-11-17 12:45:07 +01:00
Tony Crisci
584ff1df4c
Merge branch 'master' into feature/wlr-seat-touch
2017-11-16 16:19:17 -05:00
emersion
bb79ada49f
Fix a bunch of mistakes detected with scan-build
2017-11-16 10:30:54 +01:00
Tony Crisci
6a516f7c41
basic touch dnd
2017-11-15 08:34:48 -05:00
Tony Crisci
e5a31ae870
wlr-seat: basic touch
2017-11-15 08:34:48 -05:00
emersion
f8b43940b1
Merge branch 'master' into cursor-scale
2017-11-12 22:12:50 +01:00
emersion
2e312a7e27
Fix hidden cursor when output is added before cursor
2017-11-12 22:11:17 +01:00
Drew DeVault
51ef12f128
Merge pull request #416 from acrisci/bug/set-keyboard-on-add
...
rootston: set keyboard for seat on keyboard add
2017-11-12 13:47:55 -05:00
Tony Crisci
a69381ef0c
rootston: set keyboard on keyboard add
2017-11-12 12:15:39 -05:00
Drew DeVault
1e0e73efaa
Spawn views on last active output
2017-11-12 09:55:28 -05:00
emersion
8605243459
Introduce wlr_xcursor_manager
2017-11-12 11:10:56 +01:00
emersion
2dccb11741
rootston: keep one xcursor_theme per seat
2017-11-11 23:53:45 +01:00
emersion
aaf0691883
rootston: add roots_xcursor_theme
...
roots_xcursor_theme loads multiple wlr_xcursor_theme at different scales.
2017-11-11 18:42:14 +01:00
emersion
ac1573b0e7
Add scale parameter to wlr_cursor_set_image
2017-11-11 17:27:44 +01:00
Tony Crisci
1db3b55128
rootston: prefix config structs and functions
2017-11-11 10:59:04 -05:00
Tony Crisci
2a9dc60f28
Merge branch 'master' into feature/multiseat
2017-11-11 09:59:39 -05:00
Tony Crisci
27a3a810ab
rootston: fix multiseat focus
2017-11-10 08:27:45 -05:00
Tony Crisci
1472dbda74
rootston: roots_keyboard null check
2017-11-09 18:32:54 -05:00
Tony Crisci
739361aa70
wlr-keyboard: take out modifiers event struct (for now)
2017-11-09 17:29:28 -05:00