GSList *it;
ObMouseBinding *b;
- g_message("%d %d %d", context, state, button);
-
for (it = bound_contexts[context]; it != NULL; it = it->next) {
b = it->data;
if (b->state == state && b->button == button)
act->data.sendtodir.cancel = FALSE;
}
- if ((act->func == action_desktop_dir ||
- act->func == action_send_to_desktop_dir)) {
+ if (config_desktop_popup &&
+ (act->func == action_desktop_dir ||
+ act->func == action_send_to_desktop_dir))
+ {
keyboard_interactive_grab(state, c, context, act);
}
- g_message("acting");
-
act->func(&act->data);
}
}