mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 04:36:30 +01:00
show window title in DEBUG::Accelerator debug trace
This commit is contained in:
parent
b7768becb5
commit
ea17875c36
1 changed files with 3 additions and 2 deletions
|
|
@ -5400,7 +5400,7 @@ ARDOUR_UI::key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_TRACE (DEBUG::Accelerators, string_compose ("Win = %1 focus = %7 (%8) Key event: code = %2 state = %3 special handling ? %4 magic widget focus ? %5 focus widget %6 named %7 mods ? %8\n",
|
DEBUG_TRACE (DEBUG::Accelerators, string_compose ("Win = %1 [title = %9] focus = %7 (%8) Key event: code = %2 state = %3 special handling ? %4 magic widget focus ? %5 focus widget %6 named %7 mods ? %8\n",
|
||||||
win,
|
win,
|
||||||
ev->keyval,
|
ev->keyval,
|
||||||
show_gdk_event_state (ev->state),
|
show_gdk_event_state (ev->state),
|
||||||
|
|
@ -5408,7 +5408,8 @@ ARDOUR_UI::key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey
|
||||||
Keyboard::some_magic_widget_has_focus(),
|
Keyboard::some_magic_widget_has_focus(),
|
||||||
focus,
|
focus,
|
||||||
(focus ? gtk_widget_get_name (focus) : "no focus widget"),
|
(focus ? gtk_widget_get_name (focus) : "no focus widget"),
|
||||||
((ev->state & mask) ? "yes" : "no")));
|
((ev->state & mask) ? "yes" : "no"),
|
||||||
|
window.get_title()));
|
||||||
|
|
||||||
/* This exists to allow us to override the way GTK handles
|
/* This exists to allow us to override the way GTK handles
|
||||||
key events. The normal sequence is:
|
key events. The normal sequence is:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue