diff options
| author | Peng Huang <shawn.p.huang@gmail.com> | 2009-03-30 14:31:15 +0800 |
|---|---|---|
| committer | Peng Huang <shawn.p.huang@gmail.com> | 2009-03-30 14:31:15 +0800 |
| commit | aab43511420f04c37d96c39b6b807fe799036b9c (patch) | |
| tree | 65168a4ad000f0607f2998fa5bba8e6b083354c0 /client/gtk2 | |
| parent | 81963e23e2688f28ef0acbdbf72d831be097bd62 (diff) | |
| download | ibus-aab43511420f04c37d96c39b6b807fe799036b9c.tar.gz ibus-aab43511420f04c37d96c39b6b807fe799036b9c.tar.xz ibus-aab43511420f04c37d96c39b6b807fe799036b9c.zip | |
Get display name from gdk_display_get_name
Diffstat (limited to 'client/gtk2')
| -rw-r--r-- | client/gtk2/ibusimcontext.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/gtk2/ibusimcontext.c b/client/gtk2/ibusimcontext.c index f99e60a..a0e97c1 100644 --- a/client/gtk2/ibusimcontext.c +++ b/client/gtk2/ibusimcontext.c @@ -312,6 +312,8 @@ ibus_im_context_init (GObject *obj) /* init bus object */ if (_bus == NULL) + + ibus_set_display (gdk_display_get_name (GDK_DISPLAY())); _bus = ibus_bus_new(); if (ibus_bus_is_connected (_bus)) { |
