mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-03 21:00:11 +01:00
XQuartz: Don't erase the mode_switch+keysym if it's the same as shift+keysym
(cherry picked from commit 3e2427e6e9)
This commit is contained in:
parent
dd787b6638
commit
ccf5f7bc07
1 changed files with 2 additions and 2 deletions
|
|
@ -148,6 +148,7 @@ const static struct {
|
|||
{XK_apostrophe, XK_dead_acute}, /* US:"=" on a Czech keyboard */
|
||||
{XK_acute, XK_dead_acute},
|
||||
{UKEYSYM (0x384), XK_dead_acute}, /* US:";" on a Greek keyboard */
|
||||
// {XK_Greek_accentdieresis, XK_dead_diaeresis}, /* US:"opt+;" on a Greek keyboard ... replace with dead_accentdieresis if there is one */
|
||||
{XK_asciicircum, XK_dead_circumflex},
|
||||
{UKEYSYM (0x2c6), XK_dead_circumflex}, /* MODIFIER LETTER CIRCUMFLEX ACCENT */
|
||||
{XK_asciitilde, XK_dead_tilde},
|
||||
|
|
@ -718,9 +719,8 @@ Bool QuartzReadSystemKeymap(darwinKeyboardInfo *info) {
|
|||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
if (k[3] == k[2]) k[3] = NoSymbol;
|
||||
if (k[2] == k[1]) k[2] = NoSymbol;
|
||||
if (k[1] == k[0]) k[1] = NoSymbol;
|
||||
if (k[0] == k[2] && k[1] == k[3]) k[2] = k[3] = NoSymbol;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue