Lines Matching refs:desk_h
100 unsigned long desk_h);
247 unsigned long desk_h) in slide_window() argument
275 y = clamp_value(y, 0, desk_h); in slide_window()
277 h = clamp_value(h, 0, desk_h); in slide_window()
288 unsigned long desk_h) in move_window() argument
293 y = get_randnum(0, desk_h); in move_window()
295 h = get_randnum(150, desk_h); 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()
324 desk_h = 768; 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()