Lines Matching refs:get_randnum
92 static long get_randnum(long min, long max);
196 static long get_randnum(long min, long max) in get_randnum() function
269 x = moo.x + get_randnum(-SLIDE_THRESHOLD, SLIDE_THRESHOLD); in slide_window()
270 y = moo.y + get_randnum(-SLIDE_THRESHOLD, SLIDE_THRESHOLD); in slide_window()
271 w = moo.width + get_randnum(-SLIDE_THRESHOLD, SLIDE_THRESHOLD); in slide_window()
272 h = moo.height + get_randnum(-SLIDE_THRESHOLD, SLIDE_THRESHOLD); in slide_window()
292 x = get_randnum(0, desk_w); in move_window()
293 y = get_randnum(0, desk_h); in move_window()
294 w = get_randnum(150, desk_w); in move_window()
295 h = get_randnum(150, desk_h); in move_window()
341 switch (get_randnum(ACTION_MIN, ACTION_MAX)) { in go_bonkers()