diff options
Diffstat (limited to 'openbox/frame.c')
| -rw-r--r-- | openbox/frame.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/frame.c b/openbox/frame.c index f6304f5d..f4a29289 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -1677,7 +1677,9 @@ 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 const *a = screen_physical_area_monitor(screen_find_monitor(&self->area)); + const Rect *a; + + 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; |
