From 5d2ac2ecace0971ce2737f4169b62b56a2ca3a2a Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Thu, 6 Dec 2012 01:07:11 +0100 Subject: Only schedule on-screen redraw areas, and do not substract scrolling positions from scheduled area. --- atari/rootwin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'atari/rootwin.c') diff --git a/atari/rootwin.c b/atari/rootwin.c index 824317a25..5dcb47f61 100755 --- a/atari/rootwin.c +++ b/atari/rootwin.c @@ -596,7 +596,8 @@ void window_schedule_redraw_grect(ROOTWIN *rootwin, GRECT *area) //dbg_grect("window_schedule_redraw_grect input ", area); guiwin_get_grect(rootwin->win, GUIWIN_AREA_WORK, &work); - rc_intersect(area, &work); + if(!rc_intersect(area, &work)) + return; //dbg_grect("window_schedule_redraw_grect intersection ", &work); -- cgit v1.2.3