projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2904720
)
Swap Xdbe buffers when resizing window.
author
Brenden Matthews
<brenden@rty.ca>
Wed, 5 Aug 2009 21:21:59 +0000
(15:21 -0600)
committer
Brenden Matthews
<brenden@rty.ca>
Wed, 5 Aug 2009 21:21:59 +0000
(15:21 -0600)
src/conky.c
patch
|
blob
|
history
diff --git
a/src/conky.c
b/src/conky.c
index
2fb1638
..
eb9ec9d
100644
(file)
--- a/
src/conky.c
+++ b/
src/conky.c
@@
-7439,6
+7439,15
@@
static void main_loop(void)
XResizeWindow(display, window.window, window.width,
window.height);
set_transparent_background(window.window);
+#ifdef HAVE_XDBE
+ if (use_xdbe) {
+ XdbeSwapInfo swap;
+
+ swap.swap_window = window.window;
+ swap.swap_action = XdbeBackground;
+ XdbeSwapBuffers(display, &swap, 1);
+ }
+#endif
changed++;
#ifdef HAVE_LUA