xwl: dont close the fd to early (#9715)

dont close the fd until the wl_event_source is removed, so we dont get
another event triggered with an already closed fd.
This commit is contained in:
Tom Englund
2025-03-24 19:33:07 +01:00
committed by GitHub
parent aec69131cd
commit 2a6d070774
2 changed files with 6 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ class CXWaylandServer {
bool start();
// called on ready
int ready(Hyprutils::OS::CFileDescriptor fd, uint32_t mask);
int ready(int fd, uint32_t mask);
void die();