[Xfce4-commits] <xfce4-panel:master> Popup window menu under cursor when on a popup menu.

Nick Schermer noreply at xfce.org
Sun Jan 23 16:22:01 CET 2011


Updating branch refs/heads/master
         to 25f101ce32aaf8eefb06b79bf841ee74375f7d7d (commit)
       from db9f6f5416ada71b070e73347d839aecba925ef0 (commit)

commit 25f101ce32aaf8eefb06b79bf841ee74375f7d7d
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Jan 23 14:53:02 2011 +0100

    Popup window menu under cursor when on a popup menu.

 plugins/tasklist/tasklist-widget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
index beebd65..143209e 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -2558,7 +2558,7 @@ xfce_tasklist_button_button_press_event (GtkWidget         *button,
 
       gtk_menu_attach_to_widget (GTK_MENU (menu), button, NULL);
       gtk_menu_popup (GTK_MENU (menu), NULL, NULL,
-                      xfce_panel_plugin_position_menu,
+                      child->type == CHILD_TYPE_WINDOW ? xfce_panel_plugin_position_menu : NULL,
                       xfce_tasklist_get_panel_plugin (child->tasklist),
                       event->button,
                       event->time);



More information about the Xfce4-commits mailing list