From 76d7872299ec8acf5fb3d65c72597a4a682fb52b Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Sun, 28 Aug 2016 16:50:55 -0400 Subject: * Make sure the button event started and ended on the close image before we dismiss the notification --- src/notification-menuitem.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/notification-menuitem.h') diff --git a/src/notification-menuitem.h b/src/notification-menuitem.h index c44c105..2aa051e 100644 --- a/src/notification-menuitem.h +++ b/src/notification-menuitem.h @@ -37,6 +37,8 @@ struct _NotificationMenuItemPrivate { GtkWidget *close_image; GtkWidget *hbox; GtkWidget *label; + + gboolean pressed_close_image; }; #define NOTIFICATION_MENUITEM_GET_PRIVATE(o) \ -- cgit v1.2.3