summaryrefslogtreecommitdiff
path: root/src/lib/ecore_win32
diff options
context:
space:
mode:
authorMykyta Biliavskyi <m.biliavskyi@samsung.com>2016-12-20 08:35:32 +0200
committerMykyta Biliavskyi <m.biliavskyi@samsung.com>2016-12-20 08:35:32 +0200
commitbb91c4b45d1cf010920fd9bd906e7207de7c69b6 (patch)
tree787ea8bb37ecf21d70943543076eaa2e5e2d20c5 /src/lib/ecore_win32
parent39af0d88aa7c84bd5a8f6cc9b5b94c5b045f93dd (diff)
Ecore_win32: do not handle WM_SYSKEY* events.
Summary: In case if WM_SYSKEYDOWN or WM_SYSKEYUP events are handled in DefWindowProc - system doesn't init event for a system shortcuts. For example any EFL application on Windows couldn't be closed by Alt+F4 combination. @fix Test Plan: Launch Elemenatry_test app. Try to close by Alt+F4 combination. Reviewers: vtorri, raster Reviewed By: raster Subscribers: an.kroitor, bowonryu, cedric, jpeg, #eflete Differential Revision: https://phab.enlightenment.org/D4477
Diffstat (limited to 'src/lib/ecore_win32')
-rw-r--r--src/lib/ecore_win32/ecore_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_win32/ecore_win32.c b/src/lib/ecore_win32/ecore_win32.c
index 1cdbed52d8..ea62a710c4 100644
--- a/src/lib/ecore_win32/ecore_win32.c
+++ b/src/lib/ecore_win32/ecore_win32.c
@@ -74,14 +74,14 @@ _ecore_win32_window_procedure(HWND window,
74 { 74 {
75 /* Keyboard input notifications */ 75 /* Keyboard input notifications */
76 case WM_KEYDOWN: 76 case WM_KEYDOWN:
77 case WM_SYSKEYDOWN: 77 /*case WM_SYSKEYDOWN:*/
78 INF("key down message"); 78 INF("key down message");
79 _ecore_win32_event_handle_key_press(data); 79 _ecore_win32_event_handle_key_press(data);
80 return 0; 80 return 0;
81 /* case WM_CHAR: */ 81 /* case WM_CHAR: */
82 /* case WM_SYSCHAR: */ 82 /* case WM_SYSCHAR: */
83 case WM_KEYUP: 83 case WM_KEYUP:
84 case WM_SYSKEYUP: 84 /*case WM_SYSKEYUP:*/
85 INF("key up message"); 85 INF("key up message");
86 _ecore_win32_event_handle_key_release(data); 86 _ecore_win32_event_handle_key_release(data);
87 return 0; 87 return 0;