mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-04 13:08:31 +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,
|
XResizeWindow(display, window.window, window.width,
|
||||||
window.height);
|
window.height);
|
||||||
set_transparent_background(window.window);
|
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++;
|
changed++;
|
||||||
#ifdef HAVE_LUA
|
#ifdef HAVE_LUA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user