From b35e5f2e236f7fb0ffa91dd8d213e69be8593665 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 19 Jun 2024 21:24:43 +0200 Subject: [PATCH] Place "Lock" dialog in the center of the screen --- gtk2_ardour/editor_ops.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 6d48b66c3c..b720cf3022 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -9205,6 +9205,7 @@ Editor::lock () delete _main_menu_disabler; _main_menu_disabler = new MainMenuDisabler; + lock_dialog->set_position (Gtk::WIN_POS_CENTER); lock_dialog->present (); lock_dialog->get_window()->set_decorations (Gdk::WMDecoration (0));