projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd64797
)
let transients go where they requested :( fuck xmms
author
Dana Jansens
<danakj@orodu.net>
Sat, 2 Aug 2003 17:57:52 +0000
(17:57 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 2 Aug 2003 17:57:52 +0000
(17:57 +0000)
plugins/placement/placement.c
patch
|
blob
|
history
diff --git
a/plugins/placement/placement.c
b/plugins/placement/placement.c
index ea1a21e37c6b8f961838bd0361f73fb867472fd8..48cf5de3201942876e9911a6f4e1bb8884bc773d 100644
(file)
--- a/
plugins/placement/placement.c
+++ b/
plugins/placement/placement.c
@@
-56,6
+56,9
@@
static void event(ObEvent *e, void *foo)
{
g_assert(e->type == Event_Client_New);
+ /* requested a position */
+ if (e->data.c.client->positioned) return;
+
if (e->data.c.client->transient_for) {
if (e->data.c.client->transient_for != OB_TRAN_GROUP) {
ObClient *c = e->data.c.client;
@@
-101,9
+104,6
@@
static void event(ObEvent *e, void *foo)
}
}
- /* requested a position */
- if (e->data.c.client->positioned) return;
-
if (!history || !place_history(e->data.c.client))
place_random(e->data.c.client);
}