[Xfce4-commits] [xfce/xfdesktop] 01/01: Use xfce_gtk_menu_popup_until_mapped to popup the menu

noreply at xfce.org noreply at xfce.org
Tue Feb 27 22:19:42 CET 2018


This is an automated email from the git hooks/post-receive script.

s   k   u   n   n   y   k       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfdesktop.

commit 97a9e45e478d16f5b91f3f6e294b7977b65f29bb
Author: Romain B <skunnyk at alteroot.org>
Date:   Tue Feb 27 21:54:02 2018 +0100

    Use xfce_gtk_menu_popup_until_mapped to popup the menu
    
    - This fix (for real !) Bug #13866
---
 src/menu.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/menu.c b/src/menu.c
index 9fe4fbc..df864e5 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -34,6 +34,7 @@
 #include <gtk/gtk.h>
 
 #include <libxfce4util/libxfce4util.h>
+#include <libxfce4ui/libxfce4ui.h>
 
 #include "xfdesktop-common.h"
 #include "menu.h"
@@ -97,7 +98,7 @@ menu_populate(XfceDesktop *desktop,
     * a toplevel menu */
     else
     {
-        gtk_menu_popup (GTK_MENU (desktop_menu), NULL, NULL, NULL, NULL, 3, gtk_get_current_event_time ());
+        xfce_gtk_menu_popup_until_mapped(GTK_MENU(desktop_menu), NULL, NULL, NULL, NULL, 3, gtk_get_current_event_time());
     }
 }
 #endif /* USE_DESKTOP_MENU */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list