projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
850d84a
)
give clients being restored from a session a little more flexibility in lpacement...
author
Dana Jansens
<danakj@orodu.net>
Sat, 11 Oct 2003 07:35:05 +0000
(07:35 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 11 Oct 2003 07:35:05 +0000
(07:35 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
8216c44
..
619531d
100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-346,7
+346,11
@@
void client_manage(Window window)
client_find_onscreen(self, &x, &y,
self->frame->area.width,
self->frame->area.height,
- client_normal(self));
+ /* non-normal clients has less rules, and
+ windows that are being restored from a session
+ do also. we can assume you want it back where
+ you saved it */
+ client_normal(self) && !self->session);
if (x != ox || y != oy)
client_move(self, x, y);