From 9dded4a01c35484ed62bcbe98db16dda2680f3f6 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 3 Apr 2004 17:28:04 +0000 Subject: [project @ 2004-04-03 17:28:04 by jmb] Wrap window offset every 5 windows. svn path=/import/netsurf/; revision=715 --- riscos/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'riscos/window.c') diff --git a/riscos/window.c b/riscos/window.c index 07b449d87..5237373c7 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -77,8 +77,8 @@ gui_window *gui_create_browser_window(struct browser_window *bw) win_width = 1600; win_height = win_width * 3 / 4; - window.visible.x0 = ((screen_width - win_width) / 2) + (48 * window_count); - window.visible.y0 = ((screen_height - win_height) / 2) - (48 * window_count); + window.visible.x0 = ((screen_width - win_width) / 2) + (48 * (window_count%5)); + window.visible.y0 = ((screen_height - win_height) / 2) - (48 * (window_count%5)); window.visible.x1 = window.visible.x0 + win_width; window.visible.y1 = window.visible.y0 + win_height; window.xscroll = 0; -- cgit v1.2.3