~mdw
/
sgt
/
puzzles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2893806
)
Patch from Mark Wooding to disable GTK's internal double buffering,
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 29 May 2010 15:43:41 +0000
(15:43 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 29 May 2010 15:43:41 +0000
(15:43 +0000)
which I didn't know about, but which is clearly a waste of effort
since we keep our own backing pixmap for the puzzle window.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@8960
cda61777
-01e9-0310-a592-
d414129be87e
gtk.c
patch
|
blob
|
blame
|
history
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;