From 03a343a9a64d86461dea40308bd13f0b78e15635 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 21 Dec 2021 11:05:32 +0100 Subject: [PATCH] wrong state oooops --- src/ewmh/ewmh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ewmh/ewmh.cpp b/src/ewmh/ewmh.cpp index 0265b1b..49176c8 100644 --- a/src/ewmh/ewmh.cpp +++ b/src/ewmh/ewmh.cpp @@ -126,6 +126,6 @@ void EWMH::updateWindow(xcb_window_t win) { // ICCCM State Normal if (!PWINDOW->getIsFloating()) { long data[] = {XCB_ICCCM_WM_STATE_NORMAL, XCB_NONE}; - xcb_change_property(g_pWindowManager->DisplayConnection, XCB_PROP_MODE_REPLACE, win, HYPRATOMS["_NET_WM_STATE"], HYPRATOMS["_NET_WM_STATE"], 32, 2, data); + xcb_change_property(g_pWindowManager->DisplayConnection, XCB_PROP_MODE_REPLACE, win, HYPRATOMS["WM_STATE"], HYPRATOMS["WM_STATE"], 32, 2, data); } } \ No newline at end of file