From d9e1eb0cbe0df21047681f6ad0fa77621bde643c Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 16 May 2003 19:32:22 +0000 Subject: [PATCH] FUCK dock is not an array anymore! --- openbox/dock.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openbox/dock.c b/openbox/dock.c index 02c6d8e7..8215dcbf 100644 --- a/openbox/dock.c +++ b/openbox/dock.c @@ -16,7 +16,6 @@ Strut dock_strut; void dock_startup() { XSetWindowAttributes attrib; - int i; STRUT_SET(dock_strut, 0, 0, 0, 0); @@ -36,8 +35,8 @@ void dock_startup() XSetWindowBorderWidth(ob_display, dock->frame, theme_bwidth); g_hash_table_insert(window_map, &dock->frame, dock); - stacking_add(DOCK_AS_WINDOW(&dock[i])); - stacking_raise(DOCK_AS_WINDOW(&dock[i])); + stacking_add(DOCK_AS_WINDOW(dock)); + stacking_raise(DOCK_AS_WINDOW(dock)); } void dock_shutdown() -- 2.45.2