Lines Matching defs:screenno
61 static int kill_all_windows ( Display *dpy, int screenno, Bool top );
62 static int verify_okay_to_kill ( Display *dpy, int screenno );
64 static Bool wm_running ( Display *dpy, int screenno );
101 int screenno; /* screen number of dpy */
160 screenno = DefaultScreen (dpy);
163 if (verify_okay_to_kill (dpy, screenno))
164 kill_all_windows (dpy, screenno, top);
212 if ((id = get_window_id (dpy, screenno, button,
214 if (id == RootWindow(dpy,screenno)) id = None;
223 if (! wm_state_set(dpy, id) && wm_running(dpy, screenno))
329 kill_all_windows(Display *dpy, int screenno, Bool top)
331 Window root = RootWindow (dpy, screenno);
368 verify_okay_to_kill(Display *dpy, int screenno)
373 Window root = RootWindow (dpy, screenno);
379 if (get_window_id (dpy, screenno, button, msg) != root) {
420 wm_running(Display *dpy, int screenno)
425 status = XGetWindowAttributes(dpy, RootWindow(dpy, screenno), &xwa);