mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 00:22:25 +00:00
aa1163e640
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. |
||
---|---|---|
.. | ||
selection | ||
meson.build | ||
server.c | ||
shell.c | ||
sockets.c | ||
sockets.h | ||
xwayland.c | ||
xwm.c |