Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
69adaf64
Commit
69adaf64
authored
Jan 20, 2021
by
Vlad Zahorodnii
Browse files
wayland: Prevent snapping normal windows to notifications and OSDs
It's annoying.
parent
26505e14
Changes
1
Hide whitespace changes
Inline
Side-by-side
workspace.cpp
View file @
69adaf64
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment