Commit 32520834 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Revert "wayland: Check workspace position when preferred deco mode changes"

This reverts commit 2560288e.

It broke alacricitty. The fix is not obvious, so revert the commit for
the time being.

BUG: 445444


(cherry picked from commit 068d60e3)
parent 5a9a3e96
......@@ -1317,7 +1317,7 @@ void XdgToplevelClient::installXdgDecoration(XdgToplevelDecorationV1Interface *d
connect(m_xdgDecoration, &XdgToplevelDecorationV1Interface::preferredModeChanged, this, [this] {
if (m_isInitialized) {
// force is true as we must send a new configure response.
updateDecoration(/* check_workspace_pos */ true, /* force */ true);
updateDecoration(/* check_workspace_pos */ false, /* force */ true);
}
});
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment