]> Dogcows Code - chaz/openbox/blobdiff - plugins/placement/placement.c
use ob_debug for any debug printing and only display the output when its a debug...
[chaz/openbox] / plugins / placement / placement.c
index b567e2298ff28fc55d2f8b85287947d83be29e5f..599d58a99c12a1d4e2296e4dcb8c5ef823d608c5 100644 (file)
@@ -24,13 +24,13 @@ void plugin_setup_config()
     parse_register("placement", parse_xml, NULL);
 }
 
-static void place_random(Client *c)
+static void place_random(ObClient *c)
 {
     int l, r, t, b;
     int x, y;
     Rect *area;
 
-    if (ob_state == OB_STATE_STARTING) return;
+    if (ob_state() == OB_STATE_STARTING) return;
 
     area = screen_area_monitor(c->desktop,
                                g_random_int_range(0, screen_num_monitors));
This page took 0.023344 seconds and 4 git commands to generate.