summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-10-04 09:20:30 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-10-04 09:37:17 -0400
commit194f31c27aa38184f5d7de985cfd5ea1894a259b (patch)
tree91802888b71ae61ec7be7ff9689486bf4ee9383d
parentb79996c08e4a0efd32f38e889399abb45449e57e (diff)
force zone useful geometry recalc on desk flip if prev/next desk has obstacles
ensure that this gets calculated accurately any time it's applicable
-rw-r--r--src/bin/e_desk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_desk.c b/src/bin/e_desk.c
index 01bfcd09e..bc8604ba1 100644
--- a/src/bin/e_desk.c
+++ b/src/bin/e_desk.c
@@ -290,6 +290,8 @@ e_desk_show(E_Desk *desk)
290 dy = desk->y - desk2->y; 290 dy = desk->y - desk2->y;
291 } 291 }
292 _e_desk_hide_begin(desk2, dx, dy); 292 _e_desk_hide_begin(desk2, dx, dy);
293 if (desk2->obstacles || desk->obstacles)
294 e_zone_useful_geometry_dirty(desk->zone);
293 } 295 }
294 296
295 desk->zone->desk_x_prev = desk->zone->desk_x_current; 297 desk->zone->desk_x_prev = desk->zone->desk_x_current;