diff options
author | Tom White <weiss@jade.(none)> | 2008-09-30 15:28:07 +0100 |
---|---|---|
committer | Thomas White <taw27@cam.ac.uk> | 2008-10-02 17:56:45 +0100 |
commit | 7e1bc829b97a61b5b644cdefa68eac045976bc62 (patch) | |
tree | df0c8294c53ebfb9bd09aeb8f437ca818970e3c9 | |
parent | da939b3df7315ec68220049addce9a06af2dbfbf (diff) |
Tarmac over more redraw problems
Redraw was still broken (see aa283fe34) when bringing the window to the top
of the stack at the same time as focussing the 3D display tab. This adds a
further extra redraw to fix it.
-rw-r--r-- | src/displaywindow.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/displaywindow.c b/src/displaywindow.c index 775b8fe..2f17498 100644 --- a/src/displaywindow.c +++ b/src/displaywindow.c @@ -554,7 +554,10 @@ void displaywindow_update_imagestack(DisplayWindow *dw) { static void displaywindow_switch_page(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, DisplayWindow *dw) { if ( dw->realised && (page_num == 0) ) { - glbits_expose(dw->drawing_area, NULL, dw); + int i; + for ( i=0; i<2; i++ ) { + glbits_expose(dw->drawing_area, NULL, dw); + } } } |