mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
Some platforms like ChromeOS use the Meta key as an alternative method for typing individual keys like Home (Meta+Left) and End (Meta+Right). In these cases, Meta does not function as a modifier and is actually implicitly released once the keyboard shortcut is identified. Since we cannot know whether Meta is actually Meta until it's confirmed to be used by itself or with another key, we need to defer handling of Meta keydown until either (1) Meta is released without having been used with another key or (2) Meta is used as a modifier with another key.