X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fsystray%2Fsystraybar.h;h=761bda6746dd02aeb2595c0d8fa82091041d9b02;hb=5f3517c10b72d28cb72f634ea17306a4cd0b2ab6;hp=7fd8c9e5ef525ca6c737cdd749cadc165e4cf8e4;hpb=ad0010a813450116f875d943f36cd6c93d84cb04;p=chaz%2Ftint2 diff --git a/src/systray/systraybar.h b/src/systray/systraybar.h index 7fd8c9e..761bda6 100644 --- a/src/systray/systraybar.h +++ b/src/systray/systraybar.h @@ -18,11 +18,15 @@ typedef struct { } Systraybar; -// -------------------------------------------------- -// global taskbar parameter -Area g_systraybar; +typedef struct +{ + Window id; + int x, y; +} TrayWindow; +void init_systray(Systraybar *sysbar, Area *parent); + // return 1 if task_width changed int resize_systray (Systraybar *sysbar);