Lines Matching refs:wid
294 x11_get_address (char **paddress, pid_t *pid, long *wid) in x11_get_address() argument
310 if (wid != NULL) in x11_get_address()
311 *wid = (long) owner; in x11_get_address()
347 Window wid = None; in set_address_in_x11() local
367 wid = XCreateWindow (xdisplay, RootWindow (xdisplay, 0), -20, -20, 10, 10, in set_address_in_x11()
370 verbose ("Created window %d\n", wid); in set_address_in_x11()
373 XChangeProperty (xdisplay, wid, address_atom, XA_STRING, 8, PropModeReplace, in set_address_in_x11()
376 XChangeProperty (xdisplay, wid, pid_atom, XA_CARDINAL, 32, PropModeReplace, in set_address_in_x11()
380 XSetSelectionOwner (xdisplay, selection_atom, wid, CurrentTime); in set_address_in_x11()
389 return wid; in set_address_in_x11()
397 set_address_in_file (char *address, pid_t pid, Window wid) in set_address_in_file() argument
422 address, (long)pid, (long)wid); in set_address_in_file()
430 x11_save_address (char *address, pid_t pid, long *wid) in x11_save_address() argument
438 if (wid != NULL) in x11_save_address()
439 *wid = (long) id; in x11_save_address()