From cd1694cd1c0b1d5d769a5e9d01dfa41b9a431bb0 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 21 Mar 2003 10:29:30 +0000 Subject: [PATCH] dont reposition windows who know what they want --- plugins/placement/placement.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/placement/placement.c b/plugins/placement/placement.c index d6011132..8a5d995a 100644 --- a/plugins/placement/placement.c +++ b/plugins/placement/placement.c @@ -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); } -- 2.45.2