From 83e019f599f409d60c12a3c0096f6b6d228d9fb1 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 16 Feb 2015 16:24:26 +0100 Subject: [PATCH] Stop mapping Meta to Super A lot of X11 keyboard layouts send Meta for Shift-Alt so it's not really a good idea to assume this is the Windows key. --- vncviewer/Viewport.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index 4daff164..b319a81c 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -782,11 +782,9 @@ int Viewport::handleSystemEvent(void *event, void *data) // For the first few years, there wasn't a good consensus on what the // Windows keys should be mapped to for X11. So we need to help out a // bit and map all variants to the same key... - case XK_Meta_L: case XK_Hyper_L: keysym = XK_Super_L; break; - case XK_Meta_R: case XK_Hyper_R: keysym = XK_Super_R; break; -- 2.39.5