ObMenuFrame* find_active_or_last_menu()
{
- GList *it;
ObMenuFrame *ret = NULL;
ret = find_active_menu();
{
ObClient *c = data;
- client_focus(c);
- if (config_focus_raise)
- client_raise(c);
+ if (focus_client != c) {
+ client_focus(c);
+ if (config_focus_raise)
+ client_raise(c);
+ }
return FALSE; /* no repeat */
}