]> Dogcows Code - chaz/tint2/blobdiff - src/panel.h
add wm_menu config option to disable window manager s menu
[chaz/tint2] / src / panel.h
index 64ffcdb93d862fa5eae01004807187cd2c6c34c1..ef4f33c2934c06d2762a3a222d9fc8fef9044770 100644 (file)
@@ -14,6 +14,7 @@
 #include <pango/pangocairo.h>
 #include <sys/time.h>
 
+#include "battery.h"
 #include "common.h"
 #include "clock.h"
 #include "task.h"
@@ -33,6 +34,7 @@ extern int mouse_scroll_down;
 //panel mode
 enum { SINGLE_DESKTOP=0, MULTI_DESKTOP, SINGLE_MONITOR };
 extern int panel_mode;
+extern int wm_menu;
 
 //panel position
 enum { LEFT=0x01, RIGHT=0x02, CENTER=0X04, TOP=0X08, BOTTOM=0x10 };
@@ -42,6 +44,7 @@ extern int panel_refresh;
 
 extern Task *task_active;
 extern Task *task_drag;
+extern Task *task_urgent;
 
 
 typedef struct {
@@ -49,9 +52,6 @@ typedef struct {
    // area.list own all objects of the panel according to config file
    Area area;
 
-   // list of visible objects
-   GSList *list_visible;
-
    // --------------------------------------------------
    // panel
    Window main_win;
@@ -80,12 +80,10 @@ typedef struct {
    // clock
    Clock clock;
 
-   // --------------------------------------------------
-   // systray
-   Systraybar trayer;
+       // --------------------------------------------------
+       // battery
+       Battery battery;
 
-       // global taskbar parameter
-       //Area g_systraybar;
 } Panel;
 
 
This page took 0.023848 seconds and 4 git commands to generate.