mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-11 05:34:26 -04:00
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 | ||