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
439dcc4b
Commit
439dcc4b
authored
Oct 27, 2020
by
Aleix Pol Gonzalez
🐧
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xwl: Include errors and warnings
parent
2715cbc8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
xwl/clipboard.cpp
xwl/clipboard.cpp
+3
-0
xwl/selection_source.cpp
xwl/selection_source.cpp
+2
-0
No files found.
xwl/clipboard.cpp
View file @
439dcc4b
...
...
@@ -142,6 +142,8 @@ void Clipboard::doHandleXfixesNotify(xcb_xfixes_selection_notify_event_t *event)
if
(
X11Source
*
source
=
x11Source
())
{
source
->
getTargets
();
}
else
{
qCWarning
(
KWIN_XWL
)
<<
"Could not create a source from"
<<
event
<<
Qt
::
hex
<<
(
event
?
event
->
owner
:
-
1
);
}
}
...
...
@@ -149,6 +151,7 @@ void Clipboard::x11OffersChanged(const QStringList &added, const QStringList &re
{
X11Source
*
source
=
x11Source
();
if
(
!
source
)
{
qCWarning
(
KWIN_XWL
)
<<
"offers changed when not having an X11Source!?"
;
return
;
}
...
...
xwl/selection_source.cpp
View file @
439dcc4b
...
...
@@ -197,9 +197,11 @@ void X11Source::handleTargets()
);
auto
*
reply
=
xcb_get_property_reply
(
xcbConn
,
cookie
,
nullptr
);
if
(
!
reply
)
{
qCDebug
(
KWIN_XWL
)
<<
"Failed to get selection property"
;
return
;
}
if
(
reply
->
type
!=
XCB_ATOM_ATOM
)
{
qCDebug
(
KWIN_XWL
)
<<
"Wrong reply type"
;
free
(
reply
);
return
;
}
...
...
Aleix Pol Gonzalez
🐧
@apol
mentioned in commit
9854f403
·
Nov 28, 2020
mentioned in commit
9854f403
mentioned in commit 9854f403332145bb36199575fbd2dbf95f7bf4d3
Toggle commit list
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