wayland: Prevent snapping normal windows to notifications and OSDs
It's annoying.
This commit is contained in:
parent
26505e14dd
commit
69adaf64df
1 changed files with 2 additions and 1 deletions
|
@ -2462,7 +2462,8 @@ QPoint Workspace::adjustClientPosition(AbstractClient* c, QPoint pos, bool unres
|
||||||
continue; // wrong virtual desktop
|
continue; // wrong virtual desktop
|
||||||
if (!(*l)->isOnCurrentActivity())
|
if (!(*l)->isOnCurrentActivity())
|
||||||
continue; // wrong activity
|
continue; // wrong activity
|
||||||
if ((*l)->isDesktop() || (*l)->isSplash())
|
if ((*l)->isDesktop() || (*l)->isSplash() || (*l)->isNotification() ||
|
||||||
|
(*l)->isCriticalNotification() || (*l)->isOnScreenDisplay())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
lx = (*l)->x();
|
lx = (*l)->x();
|
||||||
|
|
Loading…
Reference in a new issue