Skip to content

main: Fix focus state when using back or forward buttons

Corey Berla requested to merge wip/corey/mouse-back-focus into main

The back / forward buttons (8 and 9) make a weird focus state on the window. To be able to interact with the window, you have to click back onto it after using the back/forward buttons.

Right now, in main we are only checking from buttons 1-5. Adding buttons 8 and 9 is arbitrary, but so is only using buttons 1-5.

cc: @carlosg

Merge request reports