Commit graph

3004 commits

Author SHA1 Message Date
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
Vincent Vanlaer
6936be984f Document xwayland rootston config changes 2018-05-08 22:54:45 +02:00
Vincent Vanlaer
ef1a24430a Make lazy xwayland start default in rootston 2018-05-08 22:43:31 +02:00
Vincent Vanlaer
119a6cf35c Make xwayland_finish* clean up wlr_xwayland 2018-05-08 22:22:35 +02:00
emersion
c5c5747060
Merge pull request #963 from emersion/rootston-output-outdated-comment
rootston: remove outdated comment
2018-05-08 16:18:30 +01:00
emersion
6436ce6300
rootston: remove outdated comment 2018-05-08 15:51:21 +01:00
Drew DeVault
397ee7ff9d
Merge pull request #962 from Ongy/layer-surface-at
add wlr_layer_surface_surface_at
2018-05-08 10:22:22 -04:00
Markus Ongyerth
8931452e1d add wlr_layer_surface_surface_at
Adds wlr_layer_surface_surface_at, this is consistent with the other
shell implementations, and simplifies handling in compositors.
2018-05-08 16:03:10 +02:00
Drew DeVault
7c2241a556
Merge pull request #957 from emersion/output-damage-max-rects
output-damage: limit the number of damaged rectangles
2018-05-07 08:08:38 -04:00
Vincent Vanlaer
80586b8f6b Clean up events 2018-05-07 00:48:02 +02:00
Vincent Vanlaer
446ea3a340 Add beter handling for Xwayland failing at startup 2018-05-07 00:43:26 +02:00
Vincent Vanlaer
dbf4f9a231 Make startup command no longer wait for xwayland 2018-05-06 23:41:29 +02:00
Vincent Vanlaer
31861b3a7a Add option to rootston to start xwayland lazy 2018-05-06 23:41:29 +02:00
Vincent Vanlaer
c80bf1591e Allow xwayland to start lazily
Makes the xwayland startup process two phased.
The first phase just initialises the X11 sockets.
The second phase starts the Xwayland server itself.
When starting xwayland lazily the second phase will be postponed until
a client has connected to the X11 socket.

Changes in behaviour:
The DISPLAY environment is now set immediately after the X11 sockets
are created.
When the Xwayland server is killed or crashes, the sockets will not be
recreated, but reused.

Fixes #849: Start up Xwayland lazily
2018-05-06 23:41:25 +02:00