Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
KWin
Commits
69adaf64
Commit
69adaf64
authored
Jan 20, 2021
by
Vlad Zahorodnii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wayland: Prevent snapping normal windows to notifications and OSDs
It's annoying.
parent
26505e14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
workspace.cpp
workspace.cpp
+2
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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