wayland: Ignore plasma shell reposition requests during interactive move resize
Both kwin and plasma have different placement strategies during interactive move resize. That can result in the window flipping between two positions. In order to prevent that, this change makes kwin placement take precedence over the window position specified using the plasmashell protocol. This can be considered as a workaround. BUG: 481829
This commit is contained in:
parent
49f656a3d9
commit
a10c322f7a
1 changed files with 3 additions and 1 deletions
|
@ -322,7 +322,9 @@ void XdgSurfaceWindow::installPlasmaShellSurface(PlasmaShellSurfaceInterface *sh
|
|||
m_plasmaShellSurface = shellSurface;
|
||||
|
||||
auto updatePosition = [this, shellSurface] {
|
||||
move(shellSurface->position());
|
||||
if (!isInteractiveMoveResize()) {
|
||||
move(shellSurface->position());
|
||||
}
|
||||
};
|
||||
auto showUnderCursor = [this] {
|
||||
// Wait for the first commit
|
||||
|
|
Loading…
Reference in a new issue