all repos — tint2 @ f511ad2a67a786ba6a707a3fd34c4cdc6d1a0832

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

Some systray fixes
o9000 mrovi9000@gmail.com
commit

f511ad2a67a786ba6a707a3fd34c4cdc6d1a0832

parent

106471225f6e1003621fcee988ad50385c142211

2 files changed, 12 insertions(+), 0 deletions(-)

jump to
M src/systray/systraybar.csrc/systray/systraybar.c

@@ -1189,6 +1189,16 @@ {

if (!traywin->image) return; imlib_context_set_image(traywin->image); + XCopyArea(server.display, + render_background, + systray.area.pix, + server.gc, + traywin->x - systray.area.posx, + traywin->y - systray.area.posy, + traywin->width, + traywin->height, + traywin->x - systray.area.posx, + traywin->y - systray.area.posy); render_image(systray.area.pix, traywin->x - systray.area.posx, traywin->y - systray.area.posy); }
M src/util/timer.csrc/util/timer.c

@@ -96,6 +96,8 @@ // however it's save to call it.

timeout *add_timeout(int value_msec, int interval_msec, void (*_callback)(void *), void *arg, timeout **self) { + if (self && *self) + return *self; timeout *t = calloc(1, sizeof(timeout)); t->self = self; add_timeout_intern(value_msec, interval_msec, _callback, arg, t);