changes to adapt to modified version of GTK/Quartz which uses only MOD2 for Command...
[ardour.git] / libs / gtkmm2ext / gtkapplication_quartz.mm
index 5809355ad9fa9c8d0a53f396ca72a03f45bb81e0..c845db90b71d5b96d40adb94c51ce4859b53a080 100644 (file)
@@ -878,9 +878,9 @@ cocoa_menu_item_update_accelerator (NSMenuItem *cocoa_item,
                                        modifiers |= NSControlKeyMask;
                                }
                                
-                               /* gdk/quartz maps Command to Meta (XXX check this - it may move to SUPER at some point) */
+                               /* our modified gdk/quartz maps Command to Mod2 */
                                
-                               if (key->accel_mods & GDK_META_MASK) {
+                               if (key->accel_mods & GDK_MOD2_MASK) {
                                        modifiers |= NSCommandKeyMask;
                                }
                        }