nikawhite pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=bb91c4b45d1cf010920fd9bd906e7207de7c69b6

commit bb91c4b45d1cf010920fd9bd906e7207de7c69b6
Author: Mykyta Biliavskyi <m.biliavs...@samsung.com>
Date:   Tue Dec 20 08:35:32 2016 +0200

    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
---
 src/lib/ecore_win32/ecore_win32.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_win32/ecore_win32.c 
b/src/lib/ecore_win32/ecore_win32.c
index 1cdbed5..ea62a71 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,
      {
        /* 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;

-- 


Reply via email to