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:
8ada991
)
Fix resistance against struts, the resistance was always 0
author
Dana Jansens
<danakj@orodu.net>
Wed, 16 Dec 2009 21:05:56 +0000
(16:05 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 16 Dec 2009 21:07:17 +0000
(16:07 -0500)
openbox/resist.c
patch
|
blob
|
history
diff --git
a/openbox/resist.c
b/openbox/resist.c
index
f21eb8e
..
91eabcb
100644
(file)
--- a/
openbox/resist.c
+++ b/
openbox/resist.c
@@
-162,7
+162,8
@@
void resist_move_monitors(ObClient *c, gint resist, gint *x, gint *y)
cr = RECT_RIGHT(c->frame->area);
cb = RECT_BOTTOM(c->frame->area);
- RECT_SET(desired_area, *x, *y, c->area.width, c->area.height);
+ RECT_SET(desired_area, c->frame->area.x, c->frame->area.y,
+ c->frame->area.width, c->frame->area.height);
for (i = 0; i < screen_num_monitors; ++i) {
parea = screen_physical_area_monitor(i);