all repos — openbox @ 94c95663a86b1b40463fcd1e25a9ac4bc10954c1

openbox fork - make it a bit more like ryudo

don't force clients on screen when restarting
Dana Jansens danakj@orodu.net
commit

94c95663a86b1b40463fcd1e25a9ac4bc10954c1

parent

04eea8e56d2d0d80cfa403a1a117300ad0889f8e

1 files changed, 10 insertions(+), 8 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -411,10 +411,11 @@

splash screens get "transient" set to TRUE by the place_client call */ - transient || - (!(self->positioned & USPosition) && - client_normal(self) && - !self->session)); + ob_state() == OB_STATE_RUNNING && + (transient || + (!(self->positioned & USPosition) && + client_normal(self) && + !self->session))); } /* if the window isn't user-sized, then make it fit inside

@@ -426,10 +427,11 @@

splash screens get "transient" set to TRUE by the place_client call */ - if (transient || - (!(self->sized & USSize) && - client_normal(self) && - !self->session)) + if (ob_state() == OB_STATE_RUNNING && + (transient || + (!(self->sized & USSize) && + client_normal(self) && + !self->session))) { /* make a copy to modify */ Rect a = *screen_area_monitor(self->desktop, client_monitor(self));