aboutsummaryrefslogtreecommitdiff
path: root/src/glbits.c
diff options
context:
space:
mode:
authorTom White <weiss@jade.(none)>2008-09-29 19:04:21 +0100
committerThomas White <taw27@cam.ac.uk>2008-10-02 17:56:45 +0100
commite65956563da586d740ec11f8504b357a6b517ead (patch)
treeb54dff77d5fd261c82125aaa947ca61d1e23bc6e /src/glbits.c
parentf6a8e7ef02e6f449c2c3aa6186bf10d81c127dd3 (diff)
Force glbits to redraw when switching tabs in the DisplayWindow
(works around tab switching issues)
Diffstat (limited to 'src/glbits.c')
-rw-r--r--src/glbits.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glbits.c b/src/glbits.c
index d32fc0c..3641579 100644
--- a/src/glbits.c
+++ b/src/glbits.c
@@ -934,6 +934,7 @@ gint glbits_realise(GtkWidget *widget, DisplayWindow *dw) {
glbits_set_ortho(dw, w, h);
glbits_first_prepare(dw);
+ dw->realised = 1;
gdk_gl_drawable_gl_end(gldrawable);