From: Dana Jansens Date: Fri, 16 May 2003 19:32:22 +0000 (+0000) Subject: FUCK dock is not an array anymore! X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=d9e1eb0cbe0df21047681f6ad0fa77621bde643c;p=chaz%2Fopenbox FUCK dock is not an array anymore! --- 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()