Lines Matching refs:selectionOwner
198 Window selectionOwner;
203 selectionOwner = XGetSelectionOwner(dpy, wmAtom);
204 if(selectionOwner == scr->icccm_Window) {
205 selectionOwner = None;
208 if(selectionOwner != None) {
218 XSelectInput(dpy, selectionOwner, StructureNotifyMask);
224 selectionOwner = None;
232 if(selectionOwner != None && !CLarg.ewmh_replace) {
254 if(selectionOwner != None) {
265 int found = XCheckTypedWindowEvent(dpy, selectionOwner, DestroyNotify, &event);