summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2020-10-13 15:19:26 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-10-13 15:19:26 +0100
commitb9df223fa2fb0c0293b3b28363030965e5acb9ff (patch)
treeed2b9fdce4ec6d58254ee90618ffdd5001a7c82d /src/modules
parentd5f728bd72ef55bdbb45370424dd987dd1ae57b6 (diff)
Ecore_Evas win32: fix activate() function
Summary: activating the function needs un-iconified first Test Plan: elm windows status tests Reviewers: raster, jptiz, felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12176
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ecore_evas/engines/win32/ecore_evas_win32.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c b/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
index 4f2f5c3d6e..b159779940 100644
--- a/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
+++ b/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
@@ -100,6 +100,7 @@ static Eina_Bool _ecore_evas_win32_event_window_delete_request(void *data EINA_U
100 100
101static Eina_Bool _ecore_evas_win32_event_window_property_change(void *data EINA_UNUSED, int type EINA_UNUSED, void *event); 101static Eina_Bool _ecore_evas_win32_event_window_property_change(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
102 102
103
103/* Private functions */ 104/* Private functions */
104 105
105static int 106static int
@@ -830,7 +831,8 @@ _ecore_evas_win32_activate(Ecore_Evas *ee)
830{ 831{
831 INF("ecore evas activate"); 832 INF("ecore evas activate");
832 833
833 ecore_win32_window_focus((Ecore_Win32_Window *)ee->prop.window); 834 ecore_evas_show(ee);
835 ecore_win32_window_activate(ee->prop.window);
834} 836}
835 837
836static void 838static void
@@ -1371,7 +1373,7 @@ static Ecore_Evas_Engine_Func _ecore_win32_engine_func =
1371 _ecore_evas_win32_iconified_set, 1373 _ecore_evas_win32_iconified_set,
1372 _ecore_evas_win32_borderless_set, 1374 _ecore_evas_win32_borderless_set,
1373 _ecore_evas_win32_override_set, 1375 _ecore_evas_win32_override_set,
1374 NULL, 1376 NULL, /* _ecore_evas_x_maximize_set */
1375 _ecore_evas_win32_fullscreen_set, 1377 _ecore_evas_win32_fullscreen_set,
1376 NULL, /* _ecore_evas_x_avoid_damage_set */ 1378 NULL, /* _ecore_evas_x_avoid_damage_set */
1377 NULL, /* _ecore_evas_x_withdrawn_set */ 1379 NULL, /* _ecore_evas_x_withdrawn_set */