13
0

Revert "try to add some debugging for macOS modal/menu handling"

This reverts commit c5751db473.
This commit is contained in:
Paul Davis 2024-09-10 16:34:16 -06:00
parent bf6ce27b03
commit 1737b48aec

View File

@ -1477,10 +1477,8 @@ namespace Gtk {
@end
static void
gdk_quartz_modal_notify (GdkWindow* w, gboolean modal)
gdk_quartz_modal_notify (GdkWindow*, gboolean modal)
{
printf ("modal notify on %p, modal = %d modal_state = %d\n", w, modal, modal_state);
PBD::stacktrace (std::cerr, 63);
/* this global will control sensitivity of our app menu items, via validateMenuItem */
if (modal) {
++_modal_state;