Description: Correct the screen where the config menu appears In a dual-head setup with separeate screens the config menu appeared on screen 0 also for applets running on sereen 1. This patch corrects this by setting the screen apropriately. Author: Gert Wollny Bug: https://github.com/mate-desktop/mate-panel/issues/234 Last-Update: 2014-09-18 --- mate-panel-1.8.0+dfsg1.orig/libmate-panel-applet/mate-panel-applet.c +++ mate-panel-1.8.0+dfsg1/libmate-panel-applet/mate-panel-applet.c @@ -815,10 +815,10 @@ mate_panel_applet_position_menu (GtkMenu #if GTK_CHECK_VERSION (3, 0, 0) screen = gtk_widget_get_screen (widget); - gtk_menu_set_screen (menu, screen); #else screen = gtk_window_get_screen (GTK_WINDOW (applet->priv->plug)); #endif + gtk_menu_set_screen (menu, screen); #if GTK_CHECK_VERSION (3, 0, 0) gtk_widget_get_preferred_size (GTK_WIDGET (menu), &requisition, NULL);