xwl: prefer using local variable than fetching again
This commit is contained in:
parent
e81e950693
commit
c016f34dee
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue