X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fpanel.h;h=a74b080cea360f7a63eaa7cfe2f76cfcfd8e4f51;hb=fecf12f12d95443cf1677f137cfb074f961ad670;hp=5746a5574806706df596f378f9f90e9af7a67eba;hpb=9f16bbd6cc603cbbb6e6cbd55299ce48641fa5bb;p=chaz%2Ftint2 diff --git a/src/panel.h b/src/panel.h index 5746a55..a74b080 100644 --- a/src/panel.h +++ b/src/panel.h @@ -101,11 +101,15 @@ typedef struct { } Panel; +extern Panel panel_config; extern Panel *panel1; extern int nb_panel; - +// realloc panels according to number of monitor +// it's used on initial config and when new monitor added void init_panel(); + +void init_panel_size_and_position(Panel *panel); void cleanup_panel(); void resize_panel(void *obj);