diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-21 10:29:30 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-21 10:29:30 +0000 |
| commit | cd1694cd1c0b1d5d769a5e9d01dfa41b9a431bb0 (patch) | |
| tree | 0f2026511a22afcb9f3221d6a4c66978c9797742 /plugins | |
| parent | 9a4ccc919c0e877f2c6e66b540f86169fac18dc1 (diff) | |
dont reposition windows who know what they want
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/placement/placement.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |
