X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fframe.c;h=6aae7a2a15c8d56738ac80df9973b5bff93eff90;hb=eb6a2e9c4b334f53d714a2e7f10f73c63c3d2edd;hp=19ead3b991e4ff41d9380fbff31fe1f8997c5732;hpb=97d4f66cd8db231531e2b425390ff1b4a74e5358;p=chaz%2Fopenbox diff --git a/openbox/frame.c b/openbox/frame.c index 19ead3b9..6aae7a2a 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -1577,7 +1577,8 @@ static gboolean frame_animate_iconify(gpointer p) if (self->client->icon_geometry.width == 0) { /* there is no icon geometry set so just go straight down */ - Rect *a = screen_physical_area(); + Rect *a = screen_physical_area_monitor + (screen_find_monitor(&self->area)); iconx = self->area.x + self->area.width / 2 + 32; icony = a->y + a->width; iconw = 64;