Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Menu on Windows now properly responds to ALT #7485

Merged
merged 1 commit into from
Mar 10, 2017
Merged

Menu on Windows now properly responds to ALT #7485

merged 1 commit into from
Mar 10, 2017

Commits on Mar 4, 2017

  1. Menu on Windows now properly responds to ALT.

    Menu is now toggled only under these conditions:
    - the left ALT key is pressed (ignore AltGr)
    - last key pressed was ALT (typing ALT codes should not toggle menu)
    - no other key is being pushed simultaneously
    - since initial keydown, ALT has been the only key pressed
    
    NOTE: key state is reset when window blurs (in case you used a shortcut that opened a new window, which prevents the keyup handler from firing on release)
    
    Auditors: @jonathansampson, @bbondy
    
    Fixes #5775
    bsclifton committed Mar 4, 2017
    Configuration menu
    Copy the full SHA
    c789de1 View commit details
    Browse the repository at this point in the history