[Xfce4-commits] [apps/xfce4-notifyd] 17/24: panel-plugin: Don't show notifications menu on ctrl + right click

noreply at xfce.org noreply at xfce.org
Fri Sep 8 23:27:48 CEST 2017


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

o   c   h   o   s   i       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 apps/xfce4-notifyd.

commit 5fded922619c6ed680e3eaa0f7d0b60697f55916
Author: Viktor Odintsev <ninetls at xfce.org>
Date:   Fri Aug 25 02:08:12 2017 +0300

    panel-plugin: Don't show notifications menu on ctrl + right click
---
 panel-plugin/notification-plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/notification-plugin.c b/panel-plugin/notification-plugin.c
index bf8c0e2..5a5694f 100644
--- a/panel-plugin/notification-plugin.c
+++ b/panel-plugin/notification-plugin.c
@@ -93,7 +93,7 @@ cb_button_pressed (GtkButton *button,
                    GdkEventButton *event,
                    NotificationPlugin *notification_plugin)
 {
-  if (event->button != 1 && !(event->state & GDK_CONTROL_MASK))
+  if (event->button != 1)
     return FALSE;
   if (!gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)))
     notification_plugin_popup_menu (notification_plugin);

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


More information about the Xfce4-commits mailing list