mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Window focus handling fixes.
Many windows were not getting key events. Use magic focus infrastructure (built for widgets) to deliver key events via window focus in/out.
This commit is contained in:
parent
9a4827374c
commit
35f69656e8
11 changed files with 91 additions and 52 deletions
|
|
@ -536,22 +536,6 @@ ExportVideoDialog::on_show ()
|
|||
Dialog::on_show ();
|
||||
}
|
||||
|
||||
bool
|
||||
ExportVideoDialog::on_focus_in_event (GdkEventFocus *ev)
|
||||
{
|
||||
Dialog::on_focus_in_event (ev);
|
||||
Gtkmm2ext::Keyboard::magic_widget_grab_focus ();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
ExportVideoDialog::on_focus_out_event (GdkEventFocus *ev)
|
||||
{
|
||||
Dialog::on_focus_out_event (ev);
|
||||
Gtkmm2ext::Keyboard::magic_widget_drop_focus ();
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
ExportVideoDialog::abort_clicked ()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue