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/vmod.c | |
parent | ca3170ad3813389a3325513130c37e8038fa02f9 (diff) | |
download | xorg-lib-libxkbcommon-edc0aef57dd633b504581d2c6e4bee9fe6d3acbf.tar.gz |
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/vmod.c')
-rw-r--r-- | src/xkbcomp/vmod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xkbcomp/vmod.c b/src/xkbcomp/vmod.c index 95b86bd..d523913 100644 --- a/src/xkbcomp/vmod.c +++ b/src/xkbcomp/vmod.c @@ -80,8 +80,8 @@ HandleVModDef(struct xkb_keymap *keymap, VModDef *stmt, "Virtual modifier %s defined multiple times; " "Using %s, ignoring %s\n", xkb_atom_text(keymap->ctx, stmt->name), - ModMaskText(keymap, use), - ModMaskText(keymap, ignore)); + ModMaskText(keymap->ctx, &keymap->mods, use), + ModMaskText(keymap->ctx, &keymap->mods, ignore)); mapping = use; } |