mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-10-15 22:46:00 +00:00
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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user