FUCK dock is not an array anymore!

This commit is contained in:
Dana Jansens 2003-05-16 19:32:22 +00:00
parent 7a166a3838
commit d9e1eb0cbe

View file

@ -16,7 +16,6 @@ Strut dock_strut;
void dock_startup() void dock_startup()
{ {
XSetWindowAttributes attrib; XSetWindowAttributes attrib;
int i;
STRUT_SET(dock_strut, 0, 0, 0, 0); STRUT_SET(dock_strut, 0, 0, 0, 0);
@ -36,8 +35,8 @@ void dock_startup()
XSetWindowBorderWidth(ob_display, dock->frame, theme_bwidth); XSetWindowBorderWidth(ob_display, dock->frame, theme_bwidth);
g_hash_table_insert(window_map, &dock->frame, dock); g_hash_table_insert(window_map, &dock->frame, dock);
stacking_add(DOCK_AS_WINDOW(&dock[i])); stacking_add(DOCK_AS_WINDOW(dock));
stacking_raise(DOCK_AS_WINDOW(&dock[i])); stacking_raise(DOCK_AS_WINDOW(dock));
} }
void dock_shutdown() void dock_shutdown()