1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-26 00:28:25 +00:00

Swap Xdbe buffers when resizing window.

This commit is contained in:
Brenden Matthews 2009-08-05 15:21:59 -06:00
parent 2904720a58
commit c60209f6d0

View File

@ -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