diff --git a/xwl/selection.cpp b/xwl/selection.cpp index 3c83bb8cdc..69358de070 100644 --- a/xwl/selection.cpp +++ b/xwl/selection.cpp @@ -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);