default:
break;
}
-
+
if (realkey != -1) {
SetMenuItemCommandKey (carbon_item->menu, carbon_item->index,
false, realkey);
}
/* gdk/quartz maps Command to Meta */
-
+
if (key->accel_mods & GDK_META_MASK) {
use_command = 1;
}
- }
+ }
if (!use_command)
modifiers |= kMenuNoCommandModifier;
static int _in_carbon_menu_event_handler = 0;
-int
+int
gdk_quartz_in_carbon_menu_event_handler ()
{
return _in_carbon_menu_event_handler;