From 6b82d5ba9fd3a0298c2d45eebb04e5c452198672 Mon Sep 17 00:00:00 2001 From: Evan Maddock <5157277+EbonJaeger@users.noreply.github.com> Date: Mon, 1 Apr 2024 17:30:44 -0400 Subject: [PATCH] daemon/notifications: Fix default notification action being performed (#552) when close button is clicked Signed-off-by: Evan Maddock --- src/daemon/notifications/popup.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/daemon/notifications/popup.vala b/src/daemon/notifications/popup.vala index 60ae0cc37..29e42db4c 100644 --- a/src/daemon/notifications/popup.vala +++ b/src/daemon/notifications/popup.vala @@ -85,9 +85,10 @@ namespace Budgie.Notifications { this.add(revealer); // Hook up the close button - close_button.clicked.connect(() => { + close_button.button_release_event.connect(() => { this.Closed(NotificationCloseReason.DISMISSED); this.dismiss(); + return Gdk.EVENT_STOP; }); }