[client] x11: properly detect WMEH support for focus events

This commit is contained in:
Geoffrey McRae
2021-12-15 00:16:57 +11:00
parent a6720db749
commit 2e170ad06f
3 changed files with 99 additions and 3 deletions

View File

@@ -54,6 +54,11 @@ struct X11DSState
Window window;
XVisualInfo * visual;
//Extended Window Manager Hints
//ref: https://specifications.freedesktop.org/wm-spec/latest/
bool ewmhSupport;
bool ewmhHasFocusEvent;
_Atomic(uint64_t) lastWMEvent;
bool invalidateAll;