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:
437739b
)
Properly react when a client's strut changes.
author
Dana Jansens
<danakj@orodu.net>
Wed, 9 Dec 2009 19:00:51 +0000
(14:00 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 9 Dec 2009 20:09:15 +0000
(15:09 -0500)
Previously it would only react if the height of the strut changed, not if its
start/end changed (that was a long-standing bug).
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index b3f95364b9cad5fdf4536ab1e20d92a864dcb0aa..030e893aa9fbceef1b08967b23fd04248a270d65 100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-2111,7
+2111,7
@@
void client_update_strut(ObClient *self)
STRUT_PARTIAL_SET(strut, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0);
- if (!STRUT_EQUAL(strut, self->strut)) {
+ if (!
PARTIAL_
STRUT_EQUAL(strut, self->strut)) {
self->strut = strut;
/* updating here is pointless while we're being mapped cuz we're not in