mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-22 13:35:57 +01:00
state normal for non-docks
This commit is contained in:
parent
208792c299
commit
786fa73c8c
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ void EWMH::updateWindow(xcb_window_t win) {
|
||||||
xcb_change_property(g_pWindowManager->DisplayConnection, XCB_PROP_MODE_REPLACE, win, HYPRATOMS["_NET_WM_DESKTOP"], XCB_ATOM_CARDINAL, 32, 1, &WORKSPACE);
|
xcb_change_property(g_pWindowManager->DisplayConnection, XCB_PROP_MODE_REPLACE, win, HYPRATOMS["_NET_WM_DESKTOP"], XCB_ATOM_CARDINAL, 32, 1, &WORKSPACE);
|
||||||
|
|
||||||
// ICCCM State Normal
|
// ICCCM State Normal
|
||||||
if (!PWINDOW->getIsFloating()) {
|
if (!PWINDOW->getDock()) {
|
||||||
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["WM_STATE"], HYPRATOMS["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