mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 19:25:58 +01:00
fix bug with popups on XWayland
This commit is contained in:
parent
90bb8e6441
commit
6e48069a88
1 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,9 @@ void Events::listener_unmapWindow(wl_listener* listener, void* data) {
|
||||||
g_pCompositor->removeWindowFromVectorSafe(PWINDOW);
|
g_pCompositor->removeWindowFromVectorSafe(PWINDOW);
|
||||||
|
|
||||||
// refocus on a new window
|
// 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);
|
Debug::log(LOG, "Window %x unmapped", PWINDOW);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue