summarylogtreecommitdiffstats
path: root/spice-extra-mouse-buttons.patch
AgeCommit message (Collapse)Author
2021-10-02Still set SPICE_MOUSE_BUTTON_MASK_SIDE/EXTRA base on GDK buttons, but not on ↵Joan Bruguera
GDK button state.
2021-09-27Remove 'hack' for button masksJoan Bruguera
Document the situation better and remove those hacks to have a better patch. Since the masks don't even work on X11 I don't think anyone cares.
2021-09-27Fix obvious mistake (button code vs mask)Joan Bruguera
Inherited from original patch by Kevin.
2021-09-27Don't explicitly zero-initialize button map.Joan Bruguera
Subjective but other indices such as [0] already depend on zero-initialization so initializing some but not others just makes things more confusing IMO.
2021-09-27Sort out button number and names mixupJoan Bruguera
As far as I can tell by documentation (it's a mess!) and testing on my system: * button 8 = BTN_SIDE = the button that makes Firefox go back * button 9 = BTN_EXTRA = the button that makes Firefox go forward However, in the original patches by Kevin it's interpreted like button 8 is forward and button 9 is back, however the meaning is inverted in both the spice-gtk and spice-vdagent changes so everything works at the end. Clean it up to avoid confusion. Also use the SIDE and EXTRA terminology everywhere since that's what's in spice-protocol for now.
2021-09-27Add myself as co-author to the patches I'm modifyingJoan Bruguera
Those are just trivial changes though, real work is by Kevin.
2021-09-26Initial commit.Joan Bruguera