From 320df13b651d03d20688d645963a114e3936a3a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 15 Oct 2019 21:13:59 +0200 Subject: [PATCH] st/button: Add the clicked button to virtual function signature clicked signal includes a clicked mouse button parameter, but the vfunc signature doesn't include it, so it won't be passed to the functions when the signal is emitted. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/559 --- src/st/st-button.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/st-button.h b/src/st/st-button.h index 5ee45896e..df0d1ea0c 100644 --- a/src/st/st-button.h +++ b/src/st/st-button.h @@ -40,7 +40,7 @@ struct _StButtonClass void (* transition) (StButton *button); /* signals */ - void (* clicked) (StButton *button); + void (* clicked) (StButton *button, int clicked_button); }; StWidget *st_button_new (void);