let transients go where they requested :( fuck xmms
This commit is contained in:
parent
cd64797626
commit
b4b0c6257c
1 changed files with 3 additions and 3 deletions
|
@ -56,6 +56,9 @@ static void event(ObEvent *e, void *foo)
|
||||||
{
|
{
|
||||||
g_assert(e->type == Event_Client_New);
|
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) {
|
||||||
if (e->data.c.client->transient_for != OB_TRAN_GROUP) {
|
if (e->data.c.client->transient_for != OB_TRAN_GROUP) {
|
||||||
ObClient *c = e->data.c.client;
|
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))
|
if (!history || !place_history(e->data.c.client))
|
||||||
place_random(e->data.c.client);
|
place_random(e->data.c.client);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue