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:
parent
ec120d5732
commit
2ad7f6edd4
2 changed files with 38 additions and 4 deletions
|
|
@ -118,5 +118,7 @@ class CXWaylandSurface {
|
|||
CHyprSignalListener commitSurface;
|
||||
} m_listeners;
|
||||
|
||||
std::unordered_map<xcb_atom_t, bool> m_supportedProps;
|
||||
|
||||
friend class CXWM;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue