Small issue and patch for the Panel

Joao Pedrosa at
Tue Oct 31 09:26:04 CET 2006


Xubuntu's Xfce has a little issue with displaying the
menu of the items of a launcher in the right monitor
in a dual head system (mine ;-).

I decided to try to dig a solution on my own, and
thankfully the solution followed the same idea of the
WindowList plugin.

I created this little patch:

dewd at dewd-desktop:~/t_/test_downloads/xfce/xfce4-panel$ svn diff
Index: plugins/launcher/launcher.c
--- plugins/launcher/launcher.c (revisão 23567)
+++ plugins/launcher/launcher.c (cópia de trabalho)
@@ -803,6 +803,8 @@

     gdk_screen_get_monitor_geometry (screen, num, &geom);

+    gtk_menu_set_screen (menu, screen);
     if (*x > geom.x + geom.width - req.width)
         *x = geom.x + geom.width - req.width;
     if (*x < geom.x)

See the attach.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: small_patch.diff
Type: text/x-patch
Size: 446 bytes
Desc: not available
URL: <>

More information about the Xfce4-dev mailing list