summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-01-14 14:09:44 +0100
committerUoti Urpala <uau@mplayer2.org>2012-03-25 22:30:37 +0300
commit467817ff9f653ce1ee188a149634129c9eaafb01 (patch)
treea1911b88cbb476623d1d8861643d82ae91b129e9 /libvo/x11_common.h
parent7ea5c4c26c9c47639a1962385d9cacd531ba8466 (diff)
downloadmpv-467817ff9f653ce1ee188a149634129c9eaafb01.tar.bz2
mpv-467817ff9f653ce1ee188a149634129c9eaafb01.tar.xz
x11: allow unicode input
This change allows using non-ASCII keys with X11. These keys were ingored before. Technically, this creates an invisible, non-interactive input method context. If creation fails, the code falls back to the old method, which allows a subset of ASCII only.
Diffstat (limited to 'libvo/x11_common.h')
-rw-r--r--libvo/x11_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/x11_common.h b/libvo/x11_common.h
index a8b13cc690..6ba2780747 100644
--- a/libvo/x11_common.h
+++ b/libvo/x11_common.h
@@ -36,6 +36,9 @@ struct vo_x11_state {
int display_is_local;
int depthonscreen;
+ XIM xim;
+ XIC xic;
+
GC vo_gc;
struct xv_ck_info_s {