aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-01-20 14:40:19 +0100
committermarha <marha@users.sourceforge.net>2012-01-20 14:40:19 +0100
commitdc56d736fcd8ee767f76674981abbb506a1d69d5 (patch)
treef7cb13a975f4d5e4207540d61ef36e0ff634a577 /xorg-server
parentc5f912c7b9248440bf9dff4b3c64513ec0f3ec98 (diff)
downloadvcxsrv-dc56d736fcd8ee767f76674981abbb506a1d69d5.tar.gz
vcxsrv-dc56d736fcd8ee767f76674981abbb506a1d69d5.tar.bz2
vcxsrv-dc56d736fcd8ee767f76674981abbb506a1d69d5.zip
Currenlty enable the keyboard options grab:break_actions by default.
Diffstat (limited to 'xorg-server')
-rw-r--r--xorg-server/hw/xwin/winconfig.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/winconfig.c b/xorg-server/hw/xwin/winconfig.c
index 71850d0a4..4441550b0 100644
--- a/xorg-server/hw/xwin/winconfig.c
+++ b/xorg-server/hw/xwin/winconfig.c
@@ -502,6 +502,12 @@ winConfigKeyboard (DeviceIntPtr pDevice)
s = winSetStrOption (kbd->inp_option_lst, "XkbOptions", NULL);
from = X_CONFIG;
}
+#else
+ else
+ {
+ if (!g_winInfo.xkb.options)
+ s="grab:break_actions"; /* Currently attach default CTRL+ALT+NKP/ and CTRL+ALT+NKP* mappings to release grab functions */
+ }
#endif
if (s)
{