]> Dogcows Code - chaz/openbox/blobdiff - openbox/stacking.c
s/ob_display/obt_display/ and remove ob_display
[chaz/openbox] / openbox / stacking.c
index 34ab05888956bfc0333e8c1a50c04b82e6a3ec80..6910b19160d1eed2bff7aa881d44f4ce66a670a7 100644 (file)
@@ -31,7 +31,7 @@ GList  *stacking_list = NULL;
 /*! When true, stacking changes will not be reflected on the screen.  This is
   to freeze the on-screen stacking order while a window is being temporarily
   raised during focus cycling */
-gboolean pause_changes = FALSE;
+static gboolean pause_changes = FALSE;
 
 void stacking_set_list(void)
 {
@@ -54,7 +54,7 @@ void stacking_set_list(void)
         }
     }
 
-    PROP_SETA32(RootWindow(ob_display, ob_screen),
+    PROP_SETA32(RootWindow(obt_display, ob_screen),
                 net_client_list_stacking, window, (gulong*)windows, i);
 
     g_free(windows);
@@ -104,7 +104,7 @@ static void do_restack(GList *wins, GList *before)
 #endif
 
     if (!pause_changes)
-        XRestackWindows(ob_display, win, i);
+        XRestackWindows(obt_display, win, i);
     g_free(win);
 
     stacking_set_list();
@@ -134,7 +134,7 @@ void stacking_temp_raise(ObWindow *window)
     pause_changes = TRUE;
 }
 
-void stacking_restore()
+void stacking_restore(void)
 {
     Window *win;
     GList *it;
This page took 0.021075 seconds and 4 git commands to generate.