Skip to content

Commit

Permalink
#2769 we need to swap Alt_R for ISO_Level3_Shift on MacOS (same as MS…
Browse files Browse the repository at this point in the history
… Windows)

git-svn-id: https://xpra.org/svn/Xpra/trunk@26428 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 21, 2020
1 parent c0affbf commit 4a28c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/html5/js/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ XpraClient.prototype._keyb_process = function(pressed, event) {
keyname = keyname.replace("_L", "_R");

//AltGr: keep track of pressed state
if (str=="AltGraph" || (keyname=="Alt_R" && Utilities.isWindows())) {
if (str=="AltGraph" || (keyname=="Alt_R" && (Utilities.isWindows() || Utilities.isMacOS()))) {
this.altgr_state = pressed;
keyname = "ISO_Level3_Shift";
str = "AltGraph";
Expand Down

0 comments on commit 4a28c02

Please sign in to comment.