mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-26 19:34:25 +03:00
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
This commit is contained in:
parent
2c7ce0143f
commit
b79b0dbd82
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user