From: Enlightenment S. <no-...@en...> - 2011-10-21 16:25:52
|
Log: e: quick fix when shading a window with a linked video. Author: cedric Date: 2011-10-21 09:25:45 -0700 (Fri, 21 Oct 2011) New Revision: 64260 Trac: http://trac.enlightenment.org/e/changeset/64260 Modified: trunk/e/src/bin/e_border.c Modified: trunk/e/src/bin/e_border.c =================================================================== --- trunk/e/src/bin/e_border.c 2011-10-21 16:21:09 UTC (rev 64259) +++ trunk/e/src/bin/e_border.c 2011-10-21 16:25:45 UTC (rev 64260) @@ -2141,6 +2141,8 @@ E_Direction dir) { E_Event_Border_Resize *ev; + Eina_List *l; + E_Border *tmp; E_OBJECT_CHECK(bd); E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE); @@ -2149,6 +2151,9 @@ if ((bd->client.border.name) && (!strcmp("borderless", bd->client.border.name))) return; + EINA_LIST_FOREACH(bd->client.e.state.video_child, l, tmp) + ecore_x_window_hide(tmp->win); + ecore_x_window_shadow_tree_flush(); bd->shade.x = bd->x; @@ -2230,12 +2235,17 @@ E_Direction dir) { E_Event_Border_Resize *ev; + Eina_List *l; + E_Border *tmp; E_OBJECT_CHECK(bd); E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE); if ((!bd->shaded) || (bd->shading)) return; + EINA_LIST_FOREACH(bd->client.e.state.video_child, l, tmp) + ecore_x_window_show(tmp->win); + ecore_x_window_shadow_tree_flush(); bd->shade.dir = dir; |