]> Dogcows Code - chaz/openbox/commitdiff
dont reposition windows who know what they want
authorDana Jansens <danakj@orodu.net>
Fri, 21 Mar 2003 10:29:30 +0000 (10:29 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 21 Mar 2003 10:29:30 +0000 (10:29 +0000)
plugins/placement/placement.c

index d6011132f12014ff151b05e0a3b6bbda9d21ab41..8a5d995a620735ad2ee33ef992cd76d792ad0e95 100644 (file)
@@ -37,6 +37,9 @@ static void event(ObEvent *e, void *foo)
 
     if (ob_state == State_Starting) return;
 
+    /* requested a position */
+    if (e->data.c.client->positioned) return;
+
     if (!place_history(e->data.c.client))
         place_random(e->data.c.client);
 }
This page took 0.025351 seconds and 4 git commands to generate.