X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fpanel.h;h=6f762321fbcb3c315130740854183a2368572f2d;hb=386f2fec6d8d7c3ebe1e2192f4632ed0b12f0df1;hp=1e7da9e83b7decb3b458015376a1d6c459180bc0;hpb=95c0cc701139465fa06efd64d9ca55607024acce;p=chaz%2Ftint2 diff --git a/src/panel.h b/src/panel.h index 1e7da9e..6f76232 100644 --- a/src/panel.h +++ b/src/panel.h @@ -71,7 +71,6 @@ typedef struct { // position relative to root window int posx, posy; int marginx, marginy; - float initial_width, initial_height; int pourcentx, pourcenty; // location of the panel (monitor number) int monitor; @@ -105,7 +104,10 @@ extern Panel panel_config; extern Panel *panel1; extern int nb_panel; +// realloc panels according to number of monitor +// use panel_config as default value void init_panel(); + void init_panel_size_and_position(Panel *panel); void cleanup_panel(); void resize_panel(void *obj);