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
c016f34d
Commit
c016f34d
authored
Oct 20, 2020
by
Aleix Pol Gonzalez
🐧
Browse files
xwl: prefer using local variable than fetching again
parent
e81e9506
Changes
1
Hide whitespace changes
Inline
Side-by-side
xwl/selection.cpp
View file @
c016f34d
...
...
@@ -158,7 +158,7 @@ void Selection::registerXfixes()
const
uint32_t
mask
=
XCB_XFIXES_SELECTION_EVENT_MASK_SET_SELECTION_OWNER
|
XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_WINDOW_DESTROY
|
XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_CLIENT_CLOSE
;
xcb_xfixes_select_selection_input
(
kwinApp
()
->
x11Connection
()
,
xcb_xfixes_select_selection_input
(
xcbConn
,
m_window
,
m_atom
,
mask
);
...
...
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