mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-25 00:43:48 -07:00
fix bug with popups on XWayland
This commit is contained in:
@@ -64,7 +64,9 @@ void Events::listener_unmapWindow(wl_listener* listener, void* data) {
|
||||
g_pCompositor->removeWindowFromVectorSafe(PWINDOW);
|
||||
|
||||
// refocus on a new window
|
||||
g_pInputManager->refocus();
|
||||
// TODO: investigate.
|
||||
// If a parent window has focus, any popups (XWayland) will be broken (they will disappear instantly)
|
||||
// g_pInputManager->refocus();
|
||||
|
||||
Debug::log(LOG, "Window %x unmapped", PWINDOW);
|
||||
}
|
||||
|
Reference in New Issue
Block a user