Commit Graph

3067 Commits

Author SHA1 Message Date
emersion 63fd2203fe
Add support for version 2 of the xdg-output protocol 2018-05-17 08:42:59 +01:00
emersion f1fcc685b6
Merge pull request #983 from Ongy/drm_cursor_transform
update drm cursor matrix on set_transform
2018-05-16 15:25:59 +01:00
Markus Ongyerth 6a46fcc6f2 recalculate cursor projection matrix on set_cursor
Updates the projection matrix for the cursor plane in the DRM backend,
when the cursor is set, so new cursor are uploaded with the correct
transformation.
2018-05-16 15:44:41 +02:00
emersion 027ead2de7
Merge pull request #982 from RedSoxFan/fix-alpha
Fix alpha for src_rgba and src_rgbx
2018-05-16 08:29:45 +01:00
Brian Ashworth 35e83800d4 Fix alpha for src_rgba and src_rgbx 2018-05-15 22:29:36 -04:00
Drew DeVault 5758498831
Merge pull request #981 from emersion/fix-lingering-hw-cursor
output: fix lingering hardware cursors
2018-05-15 14:17:17 -04:00
emersion dbba1311b7
output: fix lingering hardware cursors 2018-05-15 18:13:26 +01:00
Drew DeVault 9e6d9779a0
Merge pull request #979 from emersion/wayland-backend-title-output-name
backend/wayland: print output name in window title
2018-05-14 19:29:07 -04:00
emersion 198ad27bd5
backend/wayland: print output name in window title 2018-05-15 00:16:18 +01:00
emersion 3036507463
xdg-shell: split into multiple files 2018-05-14 22:28:45 +01:00
emersion c7480d5084
xdg-shell-v6: rename shared private functions to prevent conflicts with xdg-shell stable 2018-05-14 19:16:46 +01:00
Drew DeVault 1e5b5d15a6
Merge pull request #973 from emersion/split-xdg-shell-v6
xdg-shell-v6: split into separate files
2018-05-13 18:12:33 -04:00
emersion facc5aa359
xdg-shell-v6: split into separate files 2018-05-13 22:32:03 +01:00
Drew DeVault 383ce3d5b7
Merge pull request #975 from acrisci/fix-pointer-example
pointer example fixes
2018-05-13 10:52:36 -04:00
Tony Crisci a078e50ec0 rename sample state to "state" 2018-05-13 10:45:18 -04:00
Tony Crisci e9fab2cc70 pointer example: use xcursor manager 2018-05-13 10:42:16 -04:00
Drew DeVault 0ba0aaed7b
Merge pull request #974 from agreppin/master
fix check of EGL_WL_bind_wayland_display presence
2018-05-13 10:42:09 -04:00
Tony Crisci aedd3c6d46 make pointer show up in pointer example 2018-05-13 10:31:59 -04:00
Drew DeVault 658a00602b
Merge pull request #972 from emersion/fix-xdg-shell-popups
Fix xdg-shell stable popups
2018-05-13 10:15:08 -04:00
Alain Greppin b2f8f00ae3 fix check of EGL_WL_bind_wayland_display presence 2018-05-13 15:17:17 +02:00
emersion cc12d03545
xdg-shell: fix positioner
The anchor and gravity bitfields in xdg-shell-unstable-v6 have
been changed to a plain enum whose values cannot be used as a
bitfield in xdg-shell. While it makes input validation easier, it
also makes positioner operations a pain in the ass.
2018-05-13 09:07:25 +01:00
emersion b28f06eca0
Don't use unsafe casts in wlr_xdg_popup_get_toplevel_coords 2018-05-12 22:53:11 +01:00
emersion 059e5f6690
Merge pull request #971 from emersion/fix-xdg-output-transform
xdg-output: fix logical_size
2018-05-12 16:50:46 +01:00
emersion 7a952dfa2d
xdg-output: fix logical_size
It should be the size of the output in layout coordinates. Prior to
this commit we were not applying the output transform to the size.
2018-05-12 16:25:52 +01:00
Drew DeVault 50922cfe0f
Merge pull request #970 from emersion/pointer-axis-discrete
Add support for discrete axis values and axis source
2018-05-12 09:29:42 -04:00
emersion db84379242
Send axis source event 2018-05-12 13:53:21 +01:00
emersion 0b58579564
Add support for discrete axis values 2018-05-12 13:34:58 +01:00
Drew DeVault 84609d347a
Merge pull request #969 from emersion/redesign-xdg-output-resource-destroy
xdg-output: redesign resource destroy
2018-05-11 21:41:48 -04:00
emersion cf5013416d
xdg-output: redesign resource destroy 2018-05-11 22:30:26 +01:00
emersion d6f76bd3f3
Merge pull request #932 from Timidger/standalone-examples
Made examples standalone
2018-05-11 08:10:32 +01:00
Timidger 9a1d0e42d2
Fixed emersion's issues 2018-05-10 19:03:58 -07:00
Timidger 7da50d065b
Fixed style issues 2018-05-10 19:03:58 -07:00
Timidger 7f1230fe78
Remvoed unnecessary wayland socket in examples 2018-05-10 19:03:57 -07:00
Timidger 167ca57b18
Fixed up building examples 2018-05-10 19:03:57 -07:00
Timidger 583654405f
Made output layout example standalone 2018-05-10 19:03:57 -07:00
Timidger 8fd25cbc5b
Fixed indentation 2018-05-10 19:03:57 -07:00
Timidger b3ca73c0ac
Multi-pointer ported over 2018-05-10 19:03:57 -07:00
Timidger b510c0f6c2
Made rotation example standalone 2018-05-10 19:03:57 -07:00
Timidger 7be5dfecc0
Made tablet standalone 2018-05-10 19:03:57 -07:00
Timidger c622a0c7fb
Made touch standalone
TODO test
2018-05-10 19:03:56 -07:00
Timidger 4c1d74ef91
Made examples/pointer standalone 2018-05-10 19:03:56 -07:00
Timidger 7284709370
simple now works on DRM 2018-05-10 19:03:56 -07:00
Timidger 44b2bf18f0
Can now quit the simple example 2018-05-10 19:03:56 -07:00
Timidger b98779a674
Got simple working without keyboard input 2018-05-10 19:03:56 -07:00
Timidger ad6d40c7c6
Moved cat out of support, removed support 2018-05-10 19:03:56 -07:00
emersion 8fd58ce725
Merge pull request #967 from VincentVanlaer/xwayland-crash
Fix Xwayland cleanup
2018-05-10 11:01:33 +01:00
Vincent Vanlaer 72a75b3a72 Fix Xwayland cleanup
Fixes #964
2018-05-10 01:44:17 +02:00
Drew DeVault f520dd8fac
Merge pull request #965 from emersion/fix-hardware-cursor-scale-transform
Fix hardware cursors scale & transform
2018-05-09 17:25:05 -04:00
emersion 13098a18ea
Fix hardware cursors scale & transform 2018-05-09 19:58:18 +01:00
emersion 8e831cd416
Merge pull request #959 from VincentVanlaer/xwayland-lazy
Add the option to start Xwayland only when a client connects
2018-05-08 23:04:26 +01:00