Enable the default behavior for hiding virtual keyboard supported by fcitx5.
This commit is contained in:
parent
cf90a8ad6f
commit
32e33438e3
|
@ -110,15 +110,17 @@ public:
|
|||
list << arg2;
|
||||
}
|
||||
|
||||
// Qt has good support for virtual keyboard, so we should disable
|
||||
// Qt has good support for showing virtual keyboard, so we should disable
|
||||
// the default behavior supported by fcitx5
|
||||
FcitxQtStringKeyValue useDefaultFocusInBehavior;
|
||||
useDefaultFocusInBehavior.setKey("useDefaultFocusInBehavior");
|
||||
useDefaultFocusInBehavior.setValue("false");
|
||||
list << useDefaultFocusInBehavior;
|
||||
// Qt has poor support for hiding virtual keyboard, so we should enable
|
||||
// the default behavior supported by fcitx5
|
||||
FcitxQtStringKeyValue useDefaultFocusOutBehavior;
|
||||
useDefaultFocusOutBehavior.setKey("useDefaultFocusOutBehavior");
|
||||
useDefaultFocusOutBehavior.setValue("false");
|
||||
useDefaultFocusOutBehavior.setValue("true");
|
||||
list << useDefaultFocusOutBehavior;
|
||||
|
||||
auto result = improxy_->CreateInputContext(list);
|
||||
|
|
|
@ -110,15 +110,17 @@ public:
|
|||
list << arg2;
|
||||
}
|
||||
|
||||
// Qt has good support for virtual keyboard, so we should disable
|
||||
// Qt has good support for showing virtual keyboard, so we should disable
|
||||
// the default behavior supported by fcitx5
|
||||
FcitxQtStringKeyValue useDefaultFocusInBehavior;
|
||||
useDefaultFocusInBehavior.setKey("useDefaultFocusInBehavior");
|
||||
useDefaultFocusInBehavior.setValue("false");
|
||||
list << useDefaultFocusInBehavior;
|
||||
// Qt has poor support for hiding virtual keyboard, so we should enable
|
||||
// the default behavior supported by fcitx5
|
||||
FcitxQtStringKeyValue useDefaultFocusOutBehavior;
|
||||
useDefaultFocusOutBehavior.setKey("useDefaultFocusOutBehavior");
|
||||
useDefaultFocusOutBehavior.setValue("false");
|
||||
useDefaultFocusOutBehavior.setValue("true");
|
||||
list << useDefaultFocusOutBehavior;
|
||||
|
||||
auto result = improxy_->CreateInputContext(list);
|
||||
|
|
Loading…
Reference in New Issue