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:
parent
2904720a58
commit
c60209f6d0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user