]> Dogcows Code - chaz/tint2/blobdiff - src/panel.c
*fix* ignore SIGCHLD in way that BSD and linux support
[chaz/tint2] / src / panel.c
index 1c5fbd8b11b039a92991f3aec84a4dfed9acab4b..410a4bd139136c257b59ebca3ab0708e870ba8aa 100644 (file)
@@ -71,11 +71,6 @@ GArray* backgrounds;
 
 Imlib_Image default_icon;
 
-
-void autohide_hide(void* p);
-void autohide_show(void* p);
-
-
 void default_panel()
 {
        panel1 = 0;
@@ -92,7 +87,7 @@ void default_panel()
        panel_dock = 0;  // default not in the dock
        panel_layer = BOTTOM_LAYER;  // default is bottom layer
        wm_menu = 0;
-       max_tick_urgent = 7;
+       max_tick_urgent = 14;
        backgrounds = g_array_new(0, 0, sizeof(Background));
 
        memset(&panel_config, 0, sizeof(Panel));
@@ -161,6 +156,8 @@ void init_panel()
 
                if (panel_config.monitor < 0)
                        p->monitor = i;
+               if ( p->area.bg == 0 )
+                       p->area.bg = &g_array_index(backgrounds, Background, 0);
                p->area.parent = p;
                p->area.panel = p;
                p->area.on_screen = 1;
This page took 0.020607 seconds and 4 git commands to generate.