commit 7e4f4bda6b4bb314ef85ed9f7fa56f448f19a54d
parent 2235bbf91db2f0c42fdeb10ef7a0785fa954a6c7
Author: deurzen <m.deurzen@tum.de>
Date: Wed, 29 Sep 2021 20:52:04 +0200
fixes client _NET_WM_DESKTOP bug
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/core/model.cc b/src/core/model.cc
@@ -2461,6 +2461,8 @@ Model::move_client_to_workspace(Index index, Client_ptr client)
return;
}
+ m_conn.set_window_desktop(client->window, index);
+
Workspace_ptr from = client->workspace;
Workspace_ptr to = get_workspace(index);
@@ -2798,6 +2800,7 @@ Model::set_sticky_client(Toggle toggle, Client_ptr client)
}
);
+ m_conn.set_window_desktop(client->window, 0xFFFFFFFF);
m_conn.set_window_state(
client->window,
WindowState::Sticky,
@@ -2843,6 +2846,7 @@ Model::set_sticky_client(Toggle toggle, Client_ptr client)
}
);
+ m_conn.set_window_desktop(client->window, mp_workspace->index());
m_conn.set_window_state(
client->window,
WindowState::Sticky,