How to handle back/forward mouse buttons press in GTK 4?

Usually, I’m using GestureClick for primary/secondary buttons, but it does not reacts on other buttons. Maybe I should define this event capture in the Application or the Window level or by using the accels?

Hi,

I’m not expert in input handling, but a 1st step would be to run libinput record and libinput debug-events to check if the buttons clicks are correctly detected and reported by the system.

1 Like