summaryrefslogtreecommitdiff
path: root/modules/input/gtkimcontextxim.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-11-02 20:48:15 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-11-02 20:48:15 +0000
commit7f63b5db980f2f73301bb47211f806574c0426de (patch)
treeabb08fa8e6b8425452153beb909f3db4a246b496 /modules/input/gtkimcontextxim.h
parent782107bc11110ca90c2046f6b6f0546594254115 (diff)
downloadgtk+-7f63b5db980f2f73301bb47211f806574c0426de.tar.gz
Patch from HideToshi Tajima (#51922)
Fri Nov 2 15:30:34 2001 Owen Taylor <otaylor@redhat.com> Patch from HideToshi Tajima (#51922) * gtk/gtkimmulticontext.c: Proxy set_use_preedit(). * gtk/modules/input/gtkimcontextxim.[ch]: Implement set_use_preedit(). * gtk/modules/input/gtkimcontextxim.[ch]: If we have to destroy the input context because we change the client window or use_preedit, make sure we empty the preedit string.
Diffstat (limited to 'modules/input/gtkimcontextxim.h')
-rw-r--r--modules/input/gtkimcontextxim.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/input/gtkimcontextxim.h b/modules/input/gtkimcontextxim.h
index 7d276acd67..96d1df5eed 100644
--- a/modules/input/gtkimcontextxim.h
+++ b/modules/input/gtkimcontextxim.h
@@ -70,6 +70,8 @@ struct _GtkIMContextXIM
XIMCallback status_draw_callback;
XIC ic;
+
+ guint use_preedit : 1;
};
struct _GtkIMContextXIMClass