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
This commit is contained in:
Mykyta Biliavskyi 2016-12-20 08:35:32 +02:00
parent 39af0d88aa
commit bb91c4b45d
1 changed files with 2 additions and 2 deletions

View File

@ -74,14 +74,14 @@ _ecore_win32_window_procedure(HWND window,
{
/* Keyboard input notifications */
case WM_KEYDOWN:
case WM_SYSKEYDOWN:
/*case WM_SYSKEYDOWN:*/
INF("key down message");
_ecore_win32_event_handle_key_press(data);
return 0;
/* case WM_CHAR: */
/* case WM_SYSCHAR: */
case WM_KEYUP:
case WM_SYSKEYUP:
/*case WM_SYSKEYUP:*/
INF("key up message");
_ecore_win32_event_handle_key_release(data);
return 0;