summaryrefslogtreecommitdiff
path: root/openbox/resist.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-17 10:33:39 -0500
committerDana Jansens <danakj@orodu.net>2009-12-17 10:33:39 -0500
commit501943b53d68821a752ceda3fbd9b64bbcae4a4c (patch)
treea2a2d4a8d5fd2976f4e1cfb7801c8adca457d19d /openbox/resist.c
parent1a348576400b26dad3a58a81415c4c833fb4915c (diff)
parentd3347e8be3753b7a466353aece04a25992018c9a (diff)
Merge branch 'backport' into work
Diffstat (limited to 'openbox/resist.c')
-rw-r--r--openbox/resist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/resist.c b/openbox/resist.c
index dc5e343c..dc4e2d70 100644
--- a/openbox/resist.c
+++ b/openbox/resist.c
@@ -161,7 +161,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);