[gtk/matthiasc/for-master] Add GTK_INPUT_HINT_PRIVATE
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] Add GTK_INPUT_HINT_PRIVATE
- Date: Thu, 1 Oct 2020 21:16:02 +0000 (UTC)
commit 3cf8904d0bf7549644c912ece587426829290735
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Oct 1 17:14:58 2020 -0400
Add GTK_INPUT_HINT_PRIVATE
Add a flag that requests that input methods should not
update personalized data (such as typing history).
Fixes: #2261
gtk/gtkenums.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index be5bd75a9e..d1ca41cb1a 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -866,6 +866,8 @@ typedef enum
* @GTK_INPUT_HINT_VERTICAL_WRITING: The text is vertical
* @GTK_INPUT_HINT_EMOJI: Suggest offering Emoji support
* @GTK_INPUT_HINT_NO_EMOJI: Suggest not offering Emoji support
+ * @GTK_INPUT_HINT_PRIVATE: Request that the input method should not
+ * update personalized data (like typing history)
*
* Describes hints that might be taken into account by input methods
* or applications. Note that input methods may already tailor their
@@ -890,7 +892,8 @@ typedef enum
GTK_INPUT_HINT_INHIBIT_OSK = 1 << 7,
GTK_INPUT_HINT_VERTICAL_WRITING = 1 << 8,
GTK_INPUT_HINT_EMOJI = 1 << 9,
- GTK_INPUT_HINT_NO_EMOJI = 1 << 10
+ GTK_INPUT_HINT_NO_EMOJI = 1 << 10,
+ GTK_INPUT_HINT_PRIVATE = 1 << 11,
} GtkInputHints;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]