xwayland: add focus_in and grab_focus events

Allows the compositor to know when the XWayland focus changes.
This commit is contained in:
John Lindgren 2024-02-14 05:53:46 -05:00 committed by Kirill Primak
parent aa1163e640
commit eb5312022a
2 changed files with 20 additions and 6 deletions

View file

@ -186,6 +186,8 @@ struct wlr_xwayland_surface {
struct wl_signal set_strut_partial;
struct wl_signal set_override_redirect;
struct wl_signal set_geometry;
struct wl_signal focus_in;
struct wl_signal grab_focus;
/* can be used to set initial maximized/fullscreen geometry */
struct wl_signal map_request;
struct wl_signal ping_timeout;