xwayland/xwm: get supported props on constructing surface (#13156)

not all clients supports WM_DELETE_WINDOW like glxgears, so get
supported props in constuctor of surface, and if not supported
forcefully kill the client.
This commit is contained in:
Tom Englund 2026-01-31 14:35:06 +01:00 committed by GitHub
parent ec120d5732
commit 2ad7f6edd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 38 additions and 4 deletions

View file

@ -118,5 +118,7 @@ class CXWaylandSurface {
CHyprSignalListener commitSurface;
} m_listeners;
std::unordered_map<xcb_atom_t, bool> m_supportedProps;
friend class CXWM;
};