New comment by chrysos349 on void-packages repository https://github.com/void-linux/void-packages/issues/49575#issuecomment-2024630481 Comment: > it specifically affects gtk4 windows. Not in my case. gtk4 windows are not affected at all. It looks like the bug affects apps run under XWayland (run `xlsclients` to determine which apps run under XWayland). In my case, the buggy apps are the ~gtk3~ gtk2 app, the electronjs app, and the app run under wine. When maximized, the apps can't be closed with the mouse, but clicking on the close button instead switches to the window in the background. Also parts of the interface of the electronjs apps can't be accessed via mouse (again, clicking switches to the windows in the background). **Solutions:** - logging out, and logging back in solves the issue - waiting a bit before first logging in after a restart - downgrading to `gtk4-4.12.5` (see my comment https://github.com/void-linux/void-packages/pull/49428#issuecomment-2020596662)