diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2005-01-10 13:13:08 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2005-01-10 13:13:08 +0000 |
commit | 57387e115caf5a4b9501cc8f6ddeb1946b0e6547 (patch) | |
tree | 0d0362d4ea2237d49e7ef016353d109f20f75fd6 /hw/xwin/winwndproc.c | |
parent | f417159e51afe22de7d4e6ba9f154313c6af59bc (diff) |
winkeybd.h
winkeyhook.c
Make keyhook feature work in multiwindowmode too Hook windows keys
Diffstat (limited to 'hw/xwin/winwndproc.c')
-rw-r--r-- | hw/xwin/winwndproc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xwin/winwndproc.c b/hw/xwin/winwndproc.c index 67fc8d356..1c5fc2adf 100644 --- a/hw/xwin/winwndproc.c +++ b/hw/xwin/winwndproc.c @@ -1013,7 +1013,7 @@ winWindowProc (HWND hwnd, UINT message, * be returned to Windows. We may be able to trap the Windows keys, * but we should determine if that is desirable before doing so. */ - if (wParam == VK_LWIN || wParam == VK_RWIN) + if ((wParam == VK_LWIN || wParam == VK_RWIN) && !g_fKeyboardHookLL) break; #ifdef XKB @@ -1054,7 +1054,7 @@ winWindowProc (HWND hwnd, UINT message, * be returned to Windows. We may be able to trap the Windows keys, * but we should determine if that is desirable before doing so. */ - if (wParam == VK_LWIN || wParam == VK_RWIN) + if ((wParam == VK_LWIN || wParam == VK_RWIN) && !g_fKeyboardHookLL) break; /* Ignore the fake Ctrl_L that follows an AltGr release */ |