Skip to content
  • Patrick Storz's avatar
    GDK W32: fix direction of horizontal smooth scrolling events · 73728814
    Patrick Storz authored and LRN's avatar LRN committed
    Commit 359df028 changed the
    code to send GDK_SCROLL_SMOOTH with deltas instead of
    GDK_SCROLL_(UP|DOWN|LEFT|RIGHT).
    
    Windows defines deltas inversed for vertical direction
    (positive values mean the wheel was turned forward)
    but not for horizontal direction
    (positive values mean the wheel was turned towards the right).
    
    This commit fixes behavior as both axes were inverted previously.
    73728814