~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Patch from Mark Wooding to disable GTK's internal double buffering,
[sgt/puzzles]
/
gtk.c
diff --git
a/gtk.c
b/gtk.c
index
694a41a
..
d551f47
100644
(file)
--- a/
gtk.c
+++ b/
gtk.c
@@
-1872,6
+1872,9
@@
static frontend *new_window(char *arg, int argtype, char **error)
fe->statusbar = NULL;
fe->area = gtk_drawing_area_new();
+#if GTK_CHECK_VERSION(2,0,0)
+ GTK_WIDGET_UNSET_FLAGS(fe->area, GTK_DOUBLE_BUFFERED);
+#endif
get_size(fe, &x, &y);
gtk_drawing_area_size(GTK_DRAWING_AREA(fe->area), x, y);
fe->w = x;