]> Dogcows Code - chaz/openbox/commitdiff
FUCK dock is not an array anymore!
authorDana Jansens <danakj@orodu.net>
Fri, 16 May 2003 19:32:22 +0000 (19:32 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 16 May 2003 19:32:22 +0000 (19:32 +0000)
openbox/dock.c

index 02c6d8e7a8f80388e178e9d1df5030cfa5ee3a31..8215dcbf82f29da93205e91299d50824e250bd7f 100644 (file)
@@ -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()
This page took 0.02393 seconds and 4 git commands to generate.