Package: mate-panel Version: 1.8.0+dfsg1-2 Severity: normal Tags: upstream Dear Maintainer,
in a multi-head setup with separate X screens the context menus for applets on screen 1 do appear on screen 0. The attached patch (also submitted upstream [1]) corrects this problem. many thanks, Gert [1] https://github.com/mate-desktop/mate-panel/issues/234 -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-2-amd64 (SMP w/6 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages mate-panel depends on: ii dconf-gsettings-backend [gsettings-backend] 0.20.0-2 ii libatk1.0-0 2.12.0-1 ii libc6 2.19-11 ii libcairo2 1.12.16-5 ii libcanberra-gtk0 0.30-2.1 ii libcanberra0 0.30-2.1 ii libdbus-1-3 1.8.6-2 ii libdbus-glib-1-2 0.102-1 ii libdconf1 0.20.0-2 ii libfontconfig1 2.11.0-6.1 ii libfreetype6 2.5.2-1.1 ii libgdk-pixbuf2.0-0 2.30.8-1 ii libglib2.0-0 2.40.0-5 ii libgtk2.0-0 2.24.24-1 ii libice6 2:1.0.9-1 ii libmate-desktop-2-17 1.8.1+dfsg1-1 ii libmate-menu2 1.8.0-4 ii libmate-panel-applet-4-1 1.8.0+dfsg1-2 ii libmateweather1 1.8.0-2 ii libpango-1.0-0 1.36.7-1 ii libpangocairo-1.0-0 1.36.7-1 ii libpangoft2-1.0-0 1.36.7-1 ii librsvg2-2 2.40.3-2 ii libsm6 2:1.2.2-1 ii libstartup-notification0 0.12-4 ii libwnck22 2.30.7-2 ii libx11-6 2:1.6.2-3 ii libxau6 1:1.0.8-1 ii libxrandr2 2:1.4.2-1 ii mate-desktop 1.8.1+dfsg1-1 ii mate-menus 1.8.0-4 ii mate-panel-common 1.8.0+dfsg1-2 ii mate-polkit 1.8.0+dfsg1-4 ii menu-xdg 0.5 ii python 2.7.8-1 mate-panel recommends no packages. mate-panel suggests no packages. -- no debconf information
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 <[email protected]> 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);
signature.asc
Description: This is a digitally signed message part

