Commit c016f34d authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

xwl: prefer using local variable than fetching again

parent e81e9506
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment