Disable automatic Shift when pressing Compose

This commit is contained in:
Jules Aguillon 2024-11-17 11:10:21 +01:00
parent 237c4e2cc2
commit 23097921cf

View File

@ -60,10 +60,10 @@ public final class KeyEventHandler
{
if (key == null)
return;
// Stop auto capitalisation when pressing some keys
switch (key.getKind())
{
case Modifier:
// Stop auto capitalisation when activating a system modifier
switch (key.getModifier())
{
case CTRL:
@ -73,6 +73,9 @@ public final class KeyEventHandler
break;
}
break;
case Compose_pending:
_autocap.stop();
break;
default: break;
}
}