diff options
author | Ole Loots <ole@monochrom.net> | 2012-12-06 01:07:11 +0100 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-12-06 01:07:11 +0100 |
commit | 5d2ac2ecace0971ce2737f4169b62b56a2ca3a2a (patch) | |
tree | a3dac7bcb19d6deed8ba2bba8200327f597ac18c /atari/rootwin.c | |
parent | 395f161eb520b7d1b662966f03919a7eeca29fe3 (diff) | |
download | netsurf-5d2ac2ecace0971ce2737f4169b62b56a2ca3a2a.tar.gz netsurf-5d2ac2ecace0971ce2737f4169b62b56a2ca3a2a.tar.bz2 |
Only schedule on-screen redraw areas, and do not substract
scrolling positions from scheduled area.
Diffstat (limited to 'atari/rootwin.c')
-rwxr-xr-x | atari/rootwin.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |