emersion
79dd9ba151
backend/drm: don't free connector immediately
...
When a pageflip is pending, we'll get a DRM event for the connector
in the future. We don't want to free the connector immediately
otherwise we'll use-after-free in the pageflip handler.
This commit adds a new state, "DISAPPEARED". This asks the pageflip
handler to destroy the output after it's done pageflipping.
6 years ago
Drew DeVault
19f3804548
Merge pull request #1266 from Ongy/xdc_tablet_fix
...
Fix tablet_tool tilt and send proximity_out
6 years ago
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.
6 years ago
Drew DeVault
5e9959daaa
Merge pull request #852 from Laaas/master
...
Implement pointer-constraints-unstable-v1 protocol
6 years ago
emersion
1b598f67ca
pointer-constraints: add unstable header
6 years ago
emersion
fadbdcd13c
seat: remove unused keyboard focus_change event
6 years ago
emersion
d98181dab8
pointer-constraints: use proper wayland-scanner functions
6 years ago
emersion
792b1f5cbf
rootston: remove broken rotated pointer constraint handling
6 years ago
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
6 years ago
emersion
31cc2fa4f9
pointer-constraints: make region not a pointer, add committed bitfield
6 years ago
emersion
c89cd4945b
pointer-constraints: rename wl_{global,resources}
6 years ago
emersion
e3736d4acc
examples/pointer-constraints: style fixes
6 years ago
Drew DeVault
e47b8cd629
Merge pull request #1264 from emersion/examples-unknown-cursor
...
Fix unknown cursor in layer-shell example
6 years ago
emersion
9622efd6db
Fix unknown cursor in layer-shell example
6 years ago
emersion
5b687b4a96
Merge pull request #1260 from RyanDwyer/xwayland-set-decorations
...
xwayland: Introduce set_decorations event
6 years ago
Ryan Dwyer
44613c0fa6
xwayland: Introduce set_decorations event
6 years ago
emersion
f5658c2ca2
Merge pull request #1257 from sghctoma/fix-protocol_meson
...
Fix partial dependency in protocol/meson.build
6 years ago
emersion
4cc2fb4bdf
Merge pull request #1256 from sghctoma/fbsd-multiseat-fixes
...
Apply multiseat fixes to FreeBSD direct backend
6 years ago
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.
6 years ago
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.
6 years ago
emersion
842368ec98
Merge pull request #1253 from RyanDwyer/multi-for-each-backend
...
Introduce wlr_multi_for_each_backend
6 years ago
Drew DeVault
33a3d8a555
Merge pull request #1252 from emersion/fatal-unknown-buffer
...
buffer: disconnect clients that commit an unknown buffer type
6 years ago
Drew DeVault
adbf21eb83
Merge pull request #1245 from emersion/capture-disable-hw-cursors
...
Disable hardware cursors when capturing output
6 years ago
Ryan Dwyer
691a63d66b
Introduce wlr_multi_for_each_backend
6 years ago
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
6 years ago
Drew DeVault
3693fae0c4
Merge pull request #1248 from emersion/assert-all-the-things
...
Assert all the things!
6 years ago
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.
6 years ago
emersion
3df602a62d
export-dmabuf: disable hardware cursors if desired
...
Also make the frame resource inert when sending "ready".
6 years ago
emersion
928572c14d
output: add wlr_output_set_hardware_cursors_enabled
...
And use it in screencopy.
6 years ago
emersion
139a905924
backend/drm: add assertions
6 years ago
emersion
02231554c8
backend/x11: add assertions
6 years ago
emersion
e98cb7c5ab
backend/wayland: add assertions
6 years ago
emersion
07ea98dab9
backend/session: add assertions
6 years ago
emersion
6c05f17a25
backend/multi: add assertions
6 years ago
emersion
7bcf0d9599
backend/libinput: add assertions
6 years ago
emersion
bc34486c04
backend/headless: add assertions
6 years ago
emersion
9288c827aa
Merge pull request #1249 from arandomhuman/keymap_fd
...
Send unique keymap file descriptors
6 years ago
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
6 years ago
Las
fa2e6e7d9d
Implement pointer-constraints protocol in wlroots and rootston
6 years ago
Las
437f538772
Make wlr_seat->data in rootston point to the wrapping roots_seat
6 years ago
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.
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
d446c53fe1
Make (wlr_)seat_client_from_pointer_resource public
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
Las
252bcce2f3
Add focus change event for seats
6 years ago
Drew DeVault
50a8758313
Merge pull request #1250 from arandomhuman/wlr_session
...
Add support for WLR_SESSION env variable
6 years ago
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.
6 years ago
Drew DeVault
8b112730ca
Merge pull request #1246 from emersion/output-layout-no-mode
...
output-layout: don't expose outputs without a mode
6 years ago
emersion
9f76263404
output-layout: don't expose outputs without a mode
6 years ago