From 0441b4a13ea8d2b293aadf4b46fcc2a06f8f469e Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 21 Dec 2021 19:36:57 +0100 Subject: [PATCH] fix typo --- src/events/events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/events.cpp b/src/events/events.cpp index abb2cb2..f4f9928 100644 --- a/src/events/events.cpp +++ b/src/events/events.cpp @@ -127,7 +127,7 @@ void Events::eventUnmapWindow(xcb_generic_event_t* event) { return; // bullshit window? 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 g_pWindowManager->closeWindowAllChecks(E->window);