inputMethod: Honor the "private" IBusInputHint
This enum value was added in IBus 1.5.26, forward our own "sensitive data" enum that way to the IMs. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3162>
This commit is contained in:
parent
ff063acd1f
commit
64d300b525
@ -269,6 +269,8 @@ export const InputMethod = GObject.registerClass({
|
||||
ibusHints |= IBus.InputHints.UPPERCASE_CHARS;
|
||||
if (hints & Clutter.InputContentHintFlags.TITLECASE)
|
||||
ibusHints |= IBus.InputHints.UPPERCASE_WORDS;
|
||||
if (hints & Clutter.InputContentHintFlags.SENSITIVE_DATA)
|
||||
ibusHints |= IBus.InputHints.PRIVATE;
|
||||
|
||||
this._hints = ibusHints;
|
||||
if (this._context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user