wlroots-hyprland/include/wlr
Thomas Hebb dcae6f1431 Allow keyboard and pointer grabs to hook clear_focus()
This is necessary for some grabs, which currently have no way of knowing
when the pointer/keyboard focus has left a surface. For example, without
this, a drag-and-drop grab can erroneously drop into a window that the
cursor is no longer over.

This is the plumbing needed to properly fix swaywm/sway#5220. The
existing fix, swaywm/sway#5222, relies on every grab's `enter()` hook
allowing a `NULL` surface. This is not guaranteed by the API and, in
fact, is not the case for the xdg-shell popup grab and results in a
crash when the cursor leaves a surface and does not immediately enter
another one while a popup is open (#2161).

This fix also adds an assertion to wlr_seat_pointer_notify_enter() that
ensures it's never called with a `NULL` surface. This will make Sway
crash much more until it fixes its usage of the API, so we should land
this at the same time as a fix in Sway (which I haven't posted yet).
2020-06-05 17:20:26 +02:00
..
backend backend/headless: add wlr_headless_backend_create_with_renderer 2020-04-22 22:40:54 +02:00
interfaces output: make wlr_output_set_gamma atomic 2020-05-14 20:09:28 +02:00
render render/egl: introduce wlr_egl_unset_current 2020-05-19 14:56:20 +02:00
types Allow keyboard and pointer grabs to hook clear_focus() 2020-06-05 17:20:26 +02:00
util meson: Various improvements 2019-12-23 07:48:29 -05:00
backend.h Remove all wayland-server.h includes 2019-07-27 15:49:32 -04:00
config.h.in render/egl: include EGL/eglmesaext.h only if present 2020-05-11 08:58:30 +02:00
meson.build build: replace version with soversion 2020-01-24 11:17:03 +01:00
version.h.in Revert "Revert "Merge pull request #1194 from ascent12/meson_feature"" 2018-08-24 19:35:02 +12:00
xcursor.h Initial pass on API stability guarantees 2018-07-29 19:20:34 -04:00
xwayland.h xwayland: add option to disable WM 2020-05-19 22:07:47 +02:00