Skip to content

Commit

Permalink
daemon/notifications: Fix default notification action being performed (
Browse files Browse the repository at this point in the history
…#552)

when close button is clicked

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
  • Loading branch information
EbonJaeger authored and JoshStrobl committed Jun 21, 2024
1 parent 5758557 commit 6b82d5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/daemon/notifications/popup.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
}

Expand Down

0 comments on commit 6b82d5b

Please sign in to comment.