Drew DeVault
19f3804548
Merge pull request #1266 from Ongy/xdc_tablet_fix
...
Fix tablet_tool tilt and send proximity_out
2018-09-27 16:24:35 -05:00
Markus Ongyerth
3e494efc5c
Fix tablet_tool tilt and send proximity_out
...
Originally I asumed tilt_x and tilt_y are very unlikely to change
independent, I was proven wrong.
And while investigating Krita not using the Erasor tool, I found a bug,
which is unrelated though.
2018-09-27 18:31:50 +02:00
Drew DeVault
5e9959daaa
Merge pull request #852 from Laaas/master
...
Implement pointer-constraints-unstable-v1 protocol
2018-09-27 05:57:43 -05:00
emersion
1b598f67ca
pointer-constraints: add unstable header
2018-09-27 12:39:29 +02:00
emersion
fadbdcd13c
seat: remove unused keyboard focus_change event
2018-09-27 12:21:30 +02:00
emersion
d98181dab8
pointer-constraints: use proper wayland-scanner functions
2018-09-27 10:53:11 +02:00
emersion
792b1f5cbf
rootston: remove broken rotated pointer constraint handling
2018-09-27 10:42:35 +02:00
emersion
dac4f8e19f
pointer-constraints: refactoring
...
* Rename the constraint_create signal to new_constraint for
consistency
* Move the constraint_destroy signal to the constraint itself
* Use rotate_child_position instead of duplicating logic
* Fix inert constraint resource handling
* Style fixes
2018-09-27 10:25:59 +02:00
emersion
31cc2fa4f9
pointer-constraints: make region not a pointer, add committed bitfield
2018-09-26 23:08:52 +02:00
emersion
c89cd4945b
pointer-constraints: rename wl_{global,resources}
2018-09-26 17:38:41 +02:00
emersion
e3736d4acc
examples/pointer-constraints: style fixes
2018-09-26 17:34:09 +02:00
Drew DeVault
e47b8cd629
Merge pull request #1264 from emersion/examples-unknown-cursor
...
Fix unknown cursor in layer-shell example
2018-09-26 10:18:54 -05:00
emersion
9622efd6db
Fix unknown cursor in layer-shell example
2018-09-26 17:01:01 +02:00
emersion
5b687b4a96
Merge pull request #1260 from RyanDwyer/xwayland-set-decorations
...
xwayland: Introduce set_decorations event
2018-09-24 12:48:57 +02:00
Ryan Dwyer
44613c0fa6
xwayland: Introduce set_decorations event
2018-09-24 20:14:02 +10:00
emersion
f5658c2ca2
Merge pull request #1257 from sghctoma/fix-protocol_meson
...
Fix partial dependency in protocol/meson.build
2018-09-22 10:12:24 +02:00
emersion
4cc2fb4bdf
Merge pull request #1256 from sghctoma/fbsd-multiseat-fixes
...
Apply multiseat fixes to FreeBSD direct backend
2018-09-22 02:09:53 +02:00
sghctoma
9383e1f76c
Apply multiseat fixes to FreeBSD direct backend
...
This commit applies the multiseat fixes that are part of PR #1063 (
commits 964e0a50
and 47895d2) to the FreeBSD direct backend.
2018-09-21 15:02:32 +02:00
sghctoma
6fd1c63a69
Fix partial dependency in protocol/meson.build
...
External dependencies in Meson do not have include_directories,
therefore "includes: true" means nothing for the wayland-client partial
dependency. Because of this, the -I CFLAGs for wayland-client are not
used by the build command. This commit fixes this by using compile_args.
2018-09-21 14:13:44 +02:00
emersion
842368ec98
Merge pull request #1253 from RyanDwyer/multi-for-each-backend
...
Introduce wlr_multi_for_each_backend
2018-09-19 14:15:16 +02:00
Drew DeVault
33a3d8a555
Merge pull request #1252 from emersion/fatal-unknown-buffer
...
buffer: disconnect clients that commit an unknown buffer type
2018-09-19 08:02:31 -04:00
Drew DeVault
adbf21eb83
Merge pull request #1245 from emersion/capture-disable-hw-cursors
...
Disable hardware cursors when capturing output
2018-09-19 08:01:38 -04:00
Ryan Dwyer
691a63d66b
Introduce wlr_multi_for_each_backend
2018-09-19 21:53:51 +10:00
emersion
ac28d701c0
buffer: disconnect clients that commit an unknown buffer type
...
If this happens, something went really wrong and we should do more
than just logging an error. See [1].
[1]: https://gitlab.freedesktop.org/wayland/weston/issues/148
2018-09-19 11:29:48 +02:00
Drew DeVault
3693fae0c4
Merge pull request #1248 from emersion/assert-all-the-things
...
Assert all the things!
2018-09-18 14:44:46 -04:00
Las
afa2e399aa
Fix implicit conversion of floats to ints in calls to pixman_region32_contains_point
...
I do not think the conversion is specifically defined, but on my system and SirCmpwn's
the floats are rounded instead of floored, which is incorrect in this case, since
for a range from 0 to 256, any value greater or equal to 0 and less than 256 is valid.
I.e. [0;256[, or 0 <= x < 256, but if x is e.g. -0.1, then it will be rounded to 0, which
is invalid. The correct behavior would be to floor to -1.
2018-09-18 13:05:44 +02:00
emersion
3df602a62d
export-dmabuf: disable hardware cursors if desired
...
Also make the frame resource inert when sending "ready".
2018-09-18 11:48:04 +02:00
emersion
928572c14d
output: add wlr_output_set_hardware_cursors_enabled
...
And use it in screencopy.
2018-09-18 11:37:37 +02:00
emersion
139a905924
backend/drm: add assertions
2018-09-18 11:06:01 +02:00
emersion
02231554c8
backend/x11: add assertions
2018-09-18 11:06:01 +02:00
emersion
e98cb7c5ab
backend/wayland: add assertions
2018-09-18 11:06:01 +02:00
emersion
07ea98dab9
backend/session: add assertions
2018-09-18 11:06:01 +02:00
emersion
6c05f17a25
backend/multi: add assertions
2018-09-18 11:06:01 +02:00
emersion
7bcf0d9599
backend/libinput: add assertions
2018-09-18 11:05:55 +02:00
emersion
bc34486c04
backend/headless: add assertions
2018-09-18 11:01:53 +02:00
emersion
9288c827aa
Merge pull request #1249 from arandomhuman/keymap_fd
...
Send unique keymap file descriptors
2018-09-18 10:58:38 +02:00
random human
40a43003a1
Send unique keymap file descriptors
...
To prevent wl_keyboard keymap being written to by clients, use a unique
file descriptor for each wl_keyboard resource.
Reference: weston, commit 76829fc4eaea329d2a525c3978271e13bd76c078
2018-09-18 13:58:36 +05:30
Las
fa2e6e7d9d
Implement pointer-constraints protocol in wlroots and rootston
2018-09-18 10:14:33 +02:00
Las
437f538772
Make wlr_seat->data in rootston point to the wrapping roots_seat
2018-09-18 10:14:33 +02:00
Las
6367e0bc93
Add wlr_surface::input_region member
...
This is analogous to the opaque_region member.
In addition the code for setting the opaque region is cleaned up.
2018-09-18 10:14:33 +02:00
Las
57690594f4
Remove extraneous indentation and conform to coding style
2018-09-18 10:14:33 +02:00
Las
59dd1dddba
Update pointer focus when cycling focus
2018-09-18 10:14:33 +02:00
Las
d446c53fe1
Make (wlr_)seat_client_from_pointer_resource public
2018-09-18 10:14:33 +02:00
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.
2018-09-18 10:14:33 +02:00
Las
252bcce2f3
Add focus change event for seats
2018-09-18 10:14:33 +02:00
Drew DeVault
50a8758313
Merge pull request #1250 from arandomhuman/wlr_session
...
Add support for WLR_SESSION env variable
2018-09-17 19:52:41 -04:00
random human
572dfcdba7
Add support for WLR_SESSION env variable
...
Valid values are "logind"/"systemd" and "direct". If WLR_SESSION is set,
only its value is potentially tried; it will not try any other option.
2018-09-18 05:06:32 +05:30
Drew DeVault
8b112730ca
Merge pull request #1246 from emersion/output-layout-no-mode
...
output-layout: don't expose outputs without a mode
2018-09-17 12:47:00 -04:00
emersion
9f76263404
output-layout: don't expose outputs without a mode
2018-09-17 15:22:33 +02:00
Drew DeVault
83397e6999
Merge pull request #1237 from emersion/disabled-crtc
...
Steal CRTCs from disabled outputs
2018-09-16 10:02:50 -04:00