Bugfix : do not turn off caps_lock unless ownsScreen is also true

This commit is contained in:
Aaron Culliney
2015-09-02 22:33:56 -07:00
parent 2ae673e221
commit fd2e65dd42
+1 -1
View File
@@ -675,7 +675,7 @@ static void gltouchkbd_setVisibilityWhenOwnsScreen(float inactiveAlpha, float ac
static void gltouchkbd_setLowercaseEnabled(bool enabled) {
allowLowercase = enabled;
if (allowLowercase) {
if (allowLowercase && ownsScreen) {
caps_lock = false;
} else {
caps_lock = true;