This commit is contained in:
vaxerski 2021-12-21 19:36:57 +01:00
parent 5ce8b37382
commit 0441b4a13e

View file

@ -127,7 +127,7 @@ void Events::eventUnmapWindow(xcb_generic_event_t* event) {
return; // bullshit window? return; // bullshit window?
if (PCLOSEDWINDOW->getIsFloating()) if (PCLOSEDWINDOW->getIsFloating())
g_pWindowManager->moveWindowToUnmapped(E->event); // If it's floating, just unmap it. g_pWindowManager->moveWindowToUnmapped(E->window); // If it's floating, just unmap it.
else else
g_pWindowManager->closeWindowAllChecks(E->window); g_pWindowManager->closeWindowAllChecks(E->window);