summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorOlivier Fourdan <fourdan.olivier@wanadoo.fr>2004-11-11 15:59:00 +0000
committerOlivier Fourdan <fourdan.olivier@wanadoo.fr>2004-11-11 15:59:00 +0000
commit1e63b135880cb9e8dfcfcddf23948e891d11ac37 (patch)
treeb29084ce3b0bb79ec8dea798240d4dec83f07690 /src/keyboard.c
parenta9805b258da816eb477dff2fa96dd1259d9a5c7d (diff)
downloadxfwm4-1e63b135880cb9e8dfcfcddf23948e891d11ac37.tar.gz
Revert JF's patch and rather test for "Mod4" in xfwm4's keyboard.c
(Old svn revision: 12138)
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index e7e2f4aa1..e8a986a0e 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -87,11 +87,11 @@ parseKeyString (Display * dpy, MyKey * key, char *str)
{
key->modifier = key->modifier | MetaMask;
}
- if (strstr (tmp, "hyper"))
+ if (strstr (tmp, "hyper") || strstr (tmp, "mod4"))
{
key->modifier = key->modifier | HyperMask;
}
- if (strstr (tmp, "super"))
+ if (strstr (tmp, "super") || strstr (tmp, "mod5"))
{
key->modifier = key->modifier | SuperMask;
}