extern Task *task_active;
extern Task *task_drag;
-extern Task *task_urgent;
-extern int tick_urgent;
+extern GSList *urgent_list;
extern int max_tick_urgent;
extern Imlib_Image default_icon;
// 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;
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);
// detect witch panel
Panel *get_panel(Window win);
-#endif
+Taskbar *click_taskbar (Panel *panel, int x, int y);
+Task *click_task (Panel *panel, int x, int y);
+int click_padding(Panel *panel, int x, int y);
+int click_clock(Panel *panel, int x, int y);
+Area* click_area(Panel *panel, int x, int y);
+#endif