diff options
author | ChunEon Park <hermet@hermet.pe.kr> | 2013-12-17 20:37:17 +0900 |
---|---|---|
committer | ChunEon Park <hermet@hermet.pe.kr> | 2013-12-17 20:37:17 +0900 |
commit | 0947bae12627aa819ff81845b10fcf0af5e924be (patch) | |
tree | f76f5ec8c1122cd7349b19838fc0226071712629 /src | |
parent | 0a1cc79a917b770ef66afe8b99731f6d5754ca44 (diff) |
ecore/ecore_x - show the window if the window should be visible.
when the window alpha mode is changed, the x window is re-created.
but if the window is going on the show state(not visible yet but waiting for visible from xserver) this window never be visible.
so here it make the window visible also if the window is going on the visible state.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/ecore_evas/engines/x/ecore_evas_x.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c b/src/modules/ecore_evas/engines/x/ecore_evas_x.c index 2847e6c71..18f6e8911 100644 --- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c +++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c @@ -2314,7 +2314,8 @@ _alpha_do(Ecore_Evas *ee, int alpha) (Ecore_Event_Multi_Up_Cb)_ecore_evas_mouse_multi_up_process); if (ee->prop.borderless) ecore_x_mwm_borderless_set(ee->prop.window, ee->prop.borderless); - if (ee->visible) ecore_x_window_show(ee->prop.window); + if (ee->visible || ee->should_be_visible) + ecore_x_window_show(ee->prop.window); if (ee->prop.focused) ecore_x_window_focus(ee->prop.window); if (ee->prop.title) { @@ -2461,7 +2462,8 @@ _ecore_evas_x_alpha_set(Ecore_Evas *ee, int alpha) (Ecore_Event_Multi_Up_Cb)_ecore_evas_mouse_multi_up_process); if (ee->prop.borderless) ecore_x_mwm_borderless_set(ee->prop.window, ee->prop.borderless); - if (ee->visible) ecore_x_window_show(ee->prop.window); + if (ee->visible || ee->should_be_visible) + ecore_x_window_show(ee->prop.window); if (ee->prop.focused) ecore_x_window_focus(ee->prop.window); if (ee->prop.title) { |