}
else if (strcmp (key, "wm_menu") == 0)
wm_menu = atoi (value);
+ else if (strcmp (key, "panel_dock") == 0)
+ panel_dock = atoi (value);
else if (strcmp (key, "urgent_nb_of_blink") == 0)
max_tick_urgent = (atoi (value) * 2) + 1;
int panel_mode;
int wm_menu;
+int panel_dock=0; // default not in the dock
int panel_position;
int panel_horizontal;
int panel_refresh;
// Unfocusable
XWMHints wmhints;
- wmhints.flags = InputHint;
- wmhints.input = False;
- XChangeProperty (server.dsp, p->main_win, XA_WM_HINTS, XA_WM_HINTS, 32, PropModeReplace, (unsigned char *) &wmhints, sizeof (XWMHints) / 4);
+ if (panel_dock) {
+ wmhints.icon_window = wmhints.window_group = p->main_win;
+ wmhints.flags = StateHint | IconWindowHint;
+ wmhints.initial_state = WithdrawnState;
+ }
+ else {
+ wmhints.flags = InputHint;
+ wmhints.input = False;
+ }
+ XSetWMHints(server.dsp, p->main_win, &wmhints);
// Undecorated
long prop[5] = { 2, 0, 0, 0, 0 };
enum { SINGLE_DESKTOP=0, MULTI_DESKTOP };
extern int panel_mode;
extern int wm_menu;
+extern int panel_dock;
//panel position
enum { LEFT=0x01, RIGHT=0x02, CENTER=0X04, TOP=0X08, BOTTOM=0x10 };
font_shadow = 0
panel_background_id = 1
wm_menu = 0
+panel_dock = 0
#---------------------------------------------
# TASKBAR
font_shadow = 0
panel_background_id = 1
wm_menu = 0
+panel_dock = 0
#---------------------------------------------
# TASKBAR
font_shadow = 0
panel_background_id = 0
wm_menu = 0
+panel_dock = 0
#---------------------------------------------
# TASKBAR
font_shadow = 0
panel_background_id = 1
wm_menu = 0
+panel_dock = 0
#---------------------------------------------
# TASKBAR
font_shadow = 0
panel_background_id = 0
wm_menu = 1
+panel_dock = 0
#---------------------------------------------
# TASKBAR
font_shadow = 0
panel_background_id = 1
wm_menu = 1
+panel_dock = 0
#---------------------------------------------
# TASKBAR