Lines Matching refs:desk_w
99 static void move_window(Display * disp, Window * win, unsigned long desk_w,
246 static void slide_window(Display * disp, Window * win, unsigned long desk_w, in slide_window() argument
274 x = clamp_value(x, 0, desk_w); in slide_window()
276 w = clamp_value(w, 0, desk_w); in slide_window()
287 static void move_window(Display * disp, Window * win, unsigned long desk_w, in move_window() argument
292 x = get_randnum(0, desk_w); in move_window()
294 w = get_randnum(150, desk_w); in move_window()
317 unsigned long desk_w, desk_h; in go_bonkers() local
321 if (!get_desktop_size(disp, &desk_w, &desk_h)) { in go_bonkers()
323 desk_w = 1024; in go_bonkers()
326 printf("Desktop is %lu by %lu.\n", desk_w, desk_h); in go_bonkers()
343 move_window(disp, window, desk_w, desk_h); in go_bonkers()
369 slide_window(disp, window, desk_w, desk_h); in go_bonkers()