Commit Graph

2744 Commits

Author SHA1 Message Date
Tony Crisci 9971d06afb document key and modifier signals 2018-05-26 11:32:45 -04:00
emersion 0eec0c7303
Merge pull request #1001 from ammen99/xterm-fix
xwm: set the proper event mask in client messages
2018-05-26 08:19:52 +01:00
Ilia Bozhinov 5dd1a838f3 xwm: set the proper event mask in client messages
Fixes #927
2018-05-26 10:08:20 +03:00
emersion 6eb4b5b54d
Merge pull request #993 from emersion/bind-wl-drm-in-renderer
render: bind wl_drm in renderer
2018-05-25 13:54:16 +01:00
Drew DeVault 35b31dcfb7
Merge pull request #1000 from ammen99/custom-renderer-initialization
[RFC] backends: implement custom EGL and renderer initialization
2018-05-25 08:38:44 -04:00
Ilia Bozhinov 24cf70ae96 backends: implement custom EGL and renderer initialization
Compositors now have more control over how the backend creates its
renderer. Currently all backends create an EGL/GLES2 renderer, so
the necessary attributes for creating the context are passed to a
user-provided callback function. It is responsible for initializing
provided wlr_egl and to return a renderer. On fail, return 0.

Fixes #987
2018-05-25 14:56:52 +03:00
Drew DeVault a0eb37e2ea
Merge pull request #997 from dcz-purism/master
Ignore clicks on un-focuseable things.
2018-05-24 10:30:15 -04:00
Dorota Czaplejewicz a94c56a828 rootston: Keep focus unchanged when non-focusable element clicked
Before this change, a view would lose focus after clicking something that's not keyboard-interactive. This would lead to edge cases with layer-shell windows like input methods, which are pointer-only-interactive, but are not intended to change the state of any focus.
2018-05-24 16:10:29 +02:00
Dorota Czaplejewicz fa13493ad5 rootston: Disable keyboard focus on inactive views
After clicking on something non-interactive, the current view was getting deactivated, but still received keyboard events. roots_seat_set_focus now changes both together in this case.
2018-05-24 16:05:12 +02:00
emersion 0ab37db543
Merge pull request #994 from agreppin/master
fix server error on exit: eglMakeCurrent Invalid display
2018-05-23 15:30:11 +01:00
agr 4e89e0fc6c fix server exit: eglMakeCurrent Invalid display 2018-05-23 16:17:29 +02:00
emersion 41130fe54b
render: bind wl_drm in renderer 2018-05-21 19:07:08 +01:00
Drew DeVault 341af97125
Merge pull request #978 from emersion/wlr-backend-env
backend: add WLR_BACKEND env variable
2018-05-20 16:21:02 -04:00
emersion 327aa7f49d
Merge pull request #990 from emersion/fullscreen-clear-alpha
output: correctly clear screen when fullscreened
2018-05-20 13:52:14 +01:00
emersion e849a68e6e
output: correctly clear screen when fullscreened 2018-05-20 13:44:18 +01:00
emersion 8585533a78
Merge pull request #989 from ascent12/unused_arg
Remove unused argument
2018-05-19 13:01:50 +01:00
Scott Anderson 1a3921d4d4 Remove unused argument 2018-05-19 23:39:51 +12:00
emersion 9e3dd6b560
backend/wayland: fix segfault when destroying backend before starting it 2018-05-19 09:34:16 +01:00
emersion 75b10cd621
backend: support creating DRM and libinput via WLR_BACKENDS 2018-05-19 09:32:08 +01:00
emersion b547279625
Merge pull request #986 from ammen99/master
gles2: pre-multiply alpha and fix blending function
2018-05-19 09:21:35 +01:00
emersion 007d83c6ee
backend: allow multiple backends in WLR_BACKENDS 2018-05-19 09:09:03 +01:00
emersion 52bd8aa716
backend/multi: disallow multiple renderers at the same time 2018-05-19 09:09:03 +01:00
emersion a1631dd9ee
backend: add WLR_BACKEND env variable 2018-05-19 09:08:59 +01:00
Ilia Bozhinov 47ffd0e184 gles2: pre-multiply alpha and fix blending function 2018-05-18 20:34:36 +03:00
Drew DeVault 98088e78df
Merge pull request #977 from emersion/split-xdg-shell
Split xdg-shell into multiple files
2018-05-17 08:14:34 -04:00
emersion c74f5b1138
xdg-output: bump output manager version to 2 2018-05-17 09:30:10 +01:00
emersion ec6e56a314
Merge pull request #966 from emersion/xdg-output-2
Add support for version 2 of the xdg-output protocol
2018-05-17 09:21:17 +01:00
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