[Xfce4-commits] <xfce4-clipman-plugin:master> actions: Use "skip_action_on_key_down" option only for selections
Mike Massonnet
noreply at xfce.org
Mon Oct 31 21:18:01 CET 2011
Updating branch refs/heads/master
to 0fb42e3311ccb7847bd2001dbe92e5b2b774fd51 (commit)
from 34b5fed2f0ba6818e5a2a76626a5ba3947865d84 (commit)
commit 0fb42e3311ccb7847bd2001dbe92e5b2b774fd51
Author: Mike Massonnet <mmassonnet at xfce.org>
Date: Mon Oct 31 21:12:40 2011 +0100
actions: Use "skip_action_on_key_down" option only for selections
Don't use this option for actions that have to be triggered for
the default clipboard (Ctrl+C).
panel-plugin/actions.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panel-plugin/actions.c b/panel-plugin/actions.c
index ad2ae74..22f2805 100644
--- a/panel-plugin/actions.c
+++ b/panel-plugin/actions.c
@@ -688,7 +688,7 @@ clipman_actions_match_with_menu (ClipmanActions *actions,
GSList *l, *entries;
GdkModifierType state;
- if (actions->priv->skip_action_on_key_down)
+ if (actions->priv->skip_action_on_key_down && group == ACTION_GROUP_SELECTION)
{
gdk_window_get_pointer (NULL, NULL, NULL, &state);
if (state & GDK_CONTROL_MASK)
More information about the Xfce4-commits
mailing list