app: add screen and monitor to all display and image window constructors

so they appear on the proper monitor as well.
This commit is contained in:
Michael Natterer
2014-05-02 20:20:46 +02:00
parent a2f6d60a42
commit 7f23fbec34
34 changed files with 214 additions and 56 deletions

View File

@ -431,7 +431,9 @@ gimp_ui_configurer_separate_shells (GimpUIConfigurer *ui_configurer,
new_image_window = gimp_image_window_new (ui_configurer->p->gimp,
NULL,
global_menu_factory,
gimp_dialog_factory_get_singleton ());
gimp_dialog_factory_get_singleton (),
gtk_widget_get_screen (GTK_WIDGET (source_image_window)),
gimp_widget_get_monitor (GTK_WIDGET (source_image_window)));
/* Move the shell there */
shell = gimp_image_window_get_shell (source_image_window, 1);