diff options
author | Ran Benita <ran234@gmail.com> | 2013-02-08 13:21:27 +0200 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2014-04-19 16:23:04 +0300 |
commit | edc0aef57dd633b504581d2c6e4bee9fe6d3acbf (patch) | |
tree | 60f2f1dd4493cec4d1b028d6f37320b2342ea6be /src/xkbcomp/compat.c | |
parent | ca3170ad3813389a3325513130c37e8038fa02f9 (diff) | |
download | libxkbcommon-edc0aef57dd633b504581d2c6e4bee9fe6d3acbf.tar.gz libxkbcommon-edc0aef57dd633b504581d2c6e4bee9fe6d3acbf.tar.bz2 libxkbcommon-edc0aef57dd633b504581d2c6e4bee9fe6d3acbf.zip |
text: take xkb_mod_set instead of the entire keymap
The modifier printing functions only need the modifier information, they
don't care about keys or leds, etc.
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbcomp/compat.c')
-rw-r--r-- | src/xkbcomp/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xkbcomp/compat.c b/src/xkbcomp/compat.c index 1251917..5ee5424 100644 --- a/src/xkbcomp/compat.c +++ b/src/xkbcomp/compat.c @@ -105,7 +105,7 @@ siText(SymInterpInfo *si, CompatInfo *info) snprintf(buf, 128, "%s+%s(%s)", KeysymText(info->ctx, si->interp.sym), SIMatchText(si->interp.match), - ModMaskText(info->keymap, si->interp.mods)); + ModMaskText(info->ctx, &info->keymap->mods, si->interp.mods)); return buf; } |