wlroots/xwayland
John Lindgren aa1163e640 xwayland: factor out xwm_set_focused_window()
Currently _NET_WM_STATE is updated in xwm_focus_window() but
_NET_ACTIVE_WINDOW is updated in xwm_surface_activate(). In some cases
(for example, client-initiated focus changes) the two properties can get
out of sync.

Factor out a new function which updates both properties in sync.

Adjust the logic in xwm_handle_focus_in() to call either
xwm_focus_window() or xwm_set_focused_window(), or neither, as
appropriate.
2024-08-01 13:19:24 +00:00
..
selection xwayland: add a size-safe wrapper for xcb_send_event 2024-04-20 15:12:45 +02:00
meson.build xwayland: enable use of a xserver subproject 2023-05-04 18:02:32 +00:00
server.c Define _POSIX_C_SOURCE globally 2024-02-15 15:41:12 +01:00
shell.c xwayland: fix double free wlr_xwayland_shell_v1 2023-10-06 10:04:11 +02:00
sockets.c Define _POSIX_C_SOURCE globally 2024-02-15 15:41:12 +01:00
sockets.h Add some missing includes/declarations 2023-06-05 21:06:19 +00:00
xwayland.c Define _POSIX_C_SOURCE globally 2024-02-15 15:41:12 +01:00
xwm.c xwayland: factor out xwm_set_focused_window() 2024-08-01 13:19:24 +00:00