X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fsystray%2Fsystraybar.h;h=c1f2324c223449f822d75512424729faa00b4d67;hb=77ca42c796001308f9baf2fa279fc18ffa7666e9;hp=d9f43bb0d2ff4411210100c0a049f2e320b15df4;hpb=9ad50cc90314fb960c8eea1d41f912f6d9e402fd;p=chaz%2Ftint2 diff --git a/src/systray/systraybar.h b/src/systray/systraybar.h index d9f43bb..c1f2324 100644 --- a/src/systray/systraybar.h +++ b/src/systray/systraybar.h @@ -20,8 +20,8 @@ typedef struct { - // always start with area - Area area; + // always start with area + Area area; GSList *list_icons; int sort; @@ -30,9 +30,11 @@ typedef struct { typedef struct { - Window id; - int x, y; - int width, height; + Window id; + int x, y; + int width, height; + // TODO: manage icon's show/hide + int hide; } TrayWindow; @@ -48,6 +50,7 @@ void resize_systray(void *obj); // systray protocol +// many tray icon doesn't manage stop/restart of the systray manager int init_net(); void cleanup_net(); void net_message(XClientMessageEvent *e);