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