From 7238b0b61efc58a43c44c8be257765ea0e93ebc5 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 1 Oct 2012 14:14:50 +0000 Subject: [PATCH] grab/ungrab keys when adding mixer actions to ensure that the keybinds are added correctly ticket #1562 SVN revision: 77273 --- src/modules/mixer/e_mod_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/mixer/e_mod_main.c b/src/modules/mixer/e_mod_main.c index 4e9e2d5..e1b86ec 100644 --- a/src/modules/mixer/e_mod_main.c +++ b/src/modules/mixer/e_mod_main.c @@ -1397,6 +1397,8 @@ _mixer_actions_register(E_Mixer_Module_Context *ctxt) ctxt->actions.mute->func.go = _mixer_cb_volume_mute; e_action_predef_name_set(_(_e_mixer_Name), _(_lbl_mute), _act_mute, NULL, NULL, 0); + e_managers_keys_ungrab(); + e_managers_keys_grab(); } } } @@ -1420,6 +1422,8 @@ _mixer_actions_unregister(E_Mixer_Module_Context *ctxt) { e_action_predef_name_del(_(_e_mixer_Name), _(_lbl_mute)); e_action_del(_act_mute); + e_managers_keys_ungrab(); + e_managers_keys_grab(); } } -- 2.7.4