aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-08-21 07:49:28 +0200
committermarha <marha@users.sourceforge.net>2012-08-21 07:49:28 +0200
commit0f140f539691e1657d8ea0fcbcca2d5947574406 (patch)
tree41b0ea65100b51450eb2b56a17218e50ce38bee9 /xorg-server/hw/xwin
parent6d3ef5c3fe5b69e59e3511202db6a66f71c2f234 (diff)
downloadvcxsrv-0f140f539691e1657d8ea0fcbcca2d5947574406.tar.gz
vcxsrv-0f140f539691e1657d8ea0fcbcca2d5947574406.tar.bz2
vcxsrv-0f140f539691e1657d8ea0fcbcca2d5947574406.zip
Do not ignore the windows key
Now the windows key can be used as meta character for emacs in multiwindow mode.
Diffstat (limited to 'xorg-server/hw/xwin')
-rw-r--r--xorg-server/hw/xwin/winwndproc.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/xorg-server/hw/xwin/winwndproc.c b/xorg-server/hw/xwin/winwndproc.c
index ea6679c66..278611caf 100644
--- a/xorg-server/hw/xwin/winwndproc.c
+++ b/xorg-server/hw/xwin/winwndproc.c
@@ -1023,14 +1023,6 @@ winWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
return 0;
}
- /*
- * Don't do anything for the Windows keys, as focus will soon
- * 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) && !g_fKeyboardHookLL)
- break;
-
/* Discard fake Ctrl_L events that precede AltGR on non-US keyboards */
if (winIsFakeCtrl_L(message, wParam, lParam))
return 0;
@@ -1070,14 +1062,6 @@ winWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput)
break;
- /*
- * Don't do anything for the Windows keys, as focus will soon
- * 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) && !g_fKeyboardHookLL)
- break;
-
/* Ignore the fake Ctrl_L that follows an AltGr release */
if (winIsFakeCtrl_L(message, wParam, lParam))
return 0;