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:
8c05970
)
use all possible struts when maximizing to fill the screen
author
Dana Jansens
<danakj@orodu.net>
Wed, 13 Jun 2007 02:34:59 +0000
(
02:34
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 13 Jun 2007 02:34:59 +0000
(
02:34
+0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index 71be0f94656baf078a48cfb25405da2e75e75b13..1ead992c2d22ed9fedfa6d7b854c12136a71c02b 100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-2731,7
+2731,10
@@
void client_try_configure(ObClient *self, gint *x, gint *y, gint *w, gint *h,
guint i;
i = screen_find_monitor(&desired);
- a = screen_area_monitor(self->desktop, i, &desired);
+ /* use all possible struts when maximizing to the full screen */
+ a = screen_area_monitor(self->desktop, i,
+ (self->max_horz && self->max_vert ?
+ NULL : &desired));
/* set the size and position if maximized */
if (self->max_horz) {