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
ba173778
Commit
ba173778
authored
Oct 20, 2020
by
Aleix Pol Gonzalez
🐧
Browse files
xwl: properly check type inheritance
parent
c016f34d
Changes
1
Hide whitespace changes
Inline
Side-by-side
xwl/clipboard.cpp
View file @
ba173778
...
...
@@ -109,7 +109,7 @@ void Clipboard::checkWlSource()
removeSource
();
return
;
}
if
(
!
workspace
()
->
activeClient
()
||
!
workspace
()
->
activeClient
()
->
inherits
(
"KWin::X11Client"
))
{
if
(
!
qobject_cast
<
KWin
::
X11Client
*>
(
workspace
()
->
activeClient
()
))
{
// no active client or active client is Wayland native
removeSource
();
return
;
...
...
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