diff options
author | John Tytgat <joty@netsurf-browser.org> | 2008-03-10 00:19:11 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2008-03-10 00:19:11 +0000 |
commit | b79b0dbd82ba9abb775f4dd20b68335a303e9a9d (patch) | |
tree | bc672b20e1ce1b0f7af0d6a36504c69ab4ebaaec /riscos | |
parent | 2c7ce0143faab9edfada4e57812f11bb9ecb3d4c (diff) | |
download | netsurf-b79b0dbd82ba9abb775f4dd20b68335a303e9a9d.tar.gz netsurf-b79b0dbd82ba9abb775f4dd20b68335a303e9a9d.tar.bz2 |
Avoid rendering using random buffer data when content is locked. In such cases we leave the window area as is.
svn path=/trunk/netsurf/; revision=3912
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/window.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/riscos/window.c b/riscos/window.c index 21e57b9f8..be843b31c 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -1418,6 +1418,13 @@ void ro_gui_window_redraw(wimp_draw *redraw) return; } + /* We can't render locked content as it is being in the process of + being transformed. We won't update anything (i.e. leaving + window area as is) instead of showing random data in case of + buffered redraw. */ + if (c->locked) + return; + plot = ro_plotters; ro_plot_set_scale(scale); ro_gui_current_redraw_gui = g; |