aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2013-01-10 10:16:01 +0000
committerCarsten Haitzler <raster@rasterman.com>2013-01-10 10:16:01 +0000
commit97b48b366808855ffe5c59fa7351f2ede2cb42ee (patch)
treebe8dd47e25ea1d3900fc65c460f812a09182585a
parentb2b9146a6fd0ce4cc090448edf84292cc8a2a7b2 (diff)
downloadenlightenment-97b48b366808855ffe5c59fa7351f2ede2cb42ee.tar.gz
enlightenment-97b48b366808855ffe5c59fa7351f2ede2cb42ee.tar.xz
enlightenment-97b48b366808855ffe5c59fa7351f2ede2cb42ee.zip
backport hide fix.
SVN revision: 82543
-rw-r--r--ChangeLog2
-rw-r--r--src/bin/e_border.c13
2 files changed, 7 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 7c1c462ab..4e871e4a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
-
2013-01-10 Carsten Haitzler
* fixed bug where starting with a nonexistent config could cause a crash instead of simply restarting
+ * fixed window border hide bug where after iconification hides leave ghosts
2013-01-10 Mike Blumenkrantz
diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index 8a3387631..27fc9091d 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -1091,17 +1091,16 @@ e_border_hide(E_Border *bd,
switch (manage)
{
case 2: break;
-
case 3:
bd->hidden = 1;
-
case 1:
- /* Make sure that this border isn't deleted */
- bd->await_hide_event++;
-
default:
- if (!e_manager_comp_evas_get(bd->zone->container->manager))
- ecore_x_window_hide(bd->client.win);
+ if (!e_manager_comp_evas_get(bd->zone->container->manager))
+ {
+ /* Make sure that this border isn't deleted */
+ bd->await_hide_event++;
+ ecore_x_window_hide(bd->client.win);
+ }
}
}