From 523eed048e91da9b99c73a48f365ad52f11ae690 Mon Sep 17 00:00:00 2001 From: Tom Englund Date: Fri, 11 Jul 2025 14:06:42 +0200 Subject: [PATCH] xwl: dont mark the even source as readable wl_event_source_check makes the event trigger until onx11event returns non zero. but we arent removing the event source from the event loop so lets not mark it at all and recieve spurious constant calls. --- src/xwayland/XWM.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xwayland/XWM.cpp b/src/xwayland/XWM.cpp index a2461bb26..3b217bc38 100644 --- a/src/xwayland/XWM.cpp +++ b/src/xwayland/XWM.cpp @@ -961,7 +961,6 @@ CXWM::CXWM() : m_connection(makeUnique(g_pXWayland->m_server->m_ m_screen = screen_iterator.data; m_eventSource = wl_event_loop_add_fd(g_pCompositor->m_wlEventLoop, g_pXWayland->m_server->m_xwmFDs[0].get(), WL_EVENT_READABLE, ::onX11Event, nullptr); - wl_event_source_check(m_eventSource); gatherResources(); getVisual();