mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-29 16:15:57 +01:00
wrong state oooops
This commit is contained in:
parent
9936331077
commit
03a343a9a6
1 changed files with 1 additions and 1 deletions
|
@ -126,6 +126,6 @@ void EWMH::updateWindow(xcb_window_t win) {
|
||||||
// ICCCM State Normal
|
// ICCCM State Normal
|
||||||
if (!PWINDOW->getIsFloating()) {
|
if (!PWINDOW->getIsFloating()) {
|
||||||
long data[] = {XCB_ICCCM_WM_STATE_NORMAL, XCB_NONE};
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue