X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fresist.c;h=dc4e2d7051dea248fa92d243405b2b7c3d2ddfe8;hb=096dad0c6c027100494ede811b33cb8558d32e25;hp=dc5e343c03b6cfa64b35bcf70af348e512dfcabb;hpb=fa0ae17adbc8f73b707c33836d37841e81b9303a;p=chaz%2Fopenbox 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);