summaryrefslogtreecommitdiff
path: root/gtk/gtkimcontextwayland.c
diff options
context:
space:
mode:
authorDorota Czaplejewicz <dorota.czaplejewicz@puri.sm>2019-12-12 14:37:51 +0000
committerDorota Czaplejewicz <dorota.czaplejewicz@puri.sm>2019-12-12 14:37:51 +0000
commite331b39ca543e36dcf6a6a3300e616b97721cb50 (patch)
tree462e7e1aeedf8ffadc5bfb0795b11d1b45f34a30 /gtk/gtkimcontextwayland.c
parent88da95d921f902ee3599ac39b26553a7c4eeb2fa (diff)
downloadgtk+-e331b39ca543e36dcf6a6a3300e616b97721cb50.tar.gz
imwayland: Suppport terminal purpose
Diffstat (limited to 'gtk/gtkimcontextwayland.c')
-rw-r--r--gtk/gtkimcontextwayland.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkimcontextwayland.c b/gtk/gtkimcontextwayland.c
index 647f238d1c..3344a68cad 100644
--- a/gtk/gtkimcontextwayland.c
+++ b/gtk/gtkimcontextwayland.c
@@ -424,6 +424,8 @@ translate_purpose (GtkInputPurpose purpose)
return ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_PASSWORD;
case GTK_INPUT_PURPOSE_PIN:
return ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_PIN;
+ case GTK_INPUT_PURPOSE_TERMINAL:
+ return ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_TERMINAL;
default:
g_assert_not_reached ();
}