mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue