all repos — tint2 @ 85536065bc55f613b4b907b714386e27659cb013

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Fix regression in background rendering (issue #549)
o9000 mrovi9000@gmail.com
commit

85536065bc55f613b4b907b714386e27659cb013

parent

efd28f38d9ed8d5681b5eb239f45e25c64744643

1 files changed, 4 insertions(+), 5 deletions(-)

jump to
M src/util/area.csrc/util/area.c

@@ -378,12 +378,11 @@ }

a->pix = XCreatePixmap(server.display, server.root_win, a->width, a->height, server.depth); a->pix_by_state[a->has_mouse_over_effect ? a->mouse_state : 0] = a->pix; - // Add layer of root pixmap (or clear pixmap if real_transparency==true) if (!a->_clear) { - clear_pixmap(a->pix, 0, 0, a->width, a->height); - if (!server.real_transparency) { - XCopyArea(server.display, ((Panel *)a->panel)->temp_pmap, a->pix, server.gc, a->posx, a->posy, a->width, a->height, 0, 0); - } + // Add layer of root pixmap (or clear pixmap if real_transparency==true) + if (server.real_transparency) + clear_pixmap(a->pix, 0, 0, a->width, a->height); + XCopyArea(server.display, ((Panel *)a->panel)->temp_pmap, a->pix, server.gc, a->posx, a->posy, a->width, a->height, 0, 0); } else { a->_clear(a); }