Commit 69adaf64 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

wayland: Prevent snapping normal windows to notifications and OSDs

It's annoying.
parent 26505e14
......@@ -2462,7 +2462,8 @@ QPoint Workspace::adjustClientPosition(AbstractClient* c, QPoint pos, bool unres
continue; // wrong virtual desktop
if (!(*l)->isOnCurrentActivity())
continue; // wrong activity
if ((*l)->isDesktop() || (*l)->isSplash())
if ((*l)->isDesktop() || (*l)->isSplash() || (*l)->isNotification() ||
(*l)->isCriticalNotification() || (*l)->isOnScreenDisplay())
continue;
lx = (*l)->x();
......
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