diff --git a/src/xfce-desktop.c b/src/xfce-desktop.c index af09a98f..d98e205d 100644 --- a/src/xfce-desktop.c +++ b/src/xfce-desktop.c @@ -1207,12 +1207,11 @@ xfce_desktop_button_press_event(GtkWidget *w, return FALSE; #endif /* no icons on the desktop, grab the focus and pop up the menu */ - if(!gtk_widget_has_grab(w)) { + if(!gtk_widget_has_grab(w)) gtk_grab_add(w); - xfce_desktop_popup_root_menu(desktop, button, evt->time); - return TRUE; - } + xfce_desktop_popup_root_menu(desktop, button, evt->time); + return TRUE; } else if(button == 2 || (button == 1 && (state & GDK_SHIFT_MASK) && (state & GDK_CONTROL_MASK))) {