Fix problem when works with imsettings.
authorHuang Peng <shawn.p.huang@gmail.com>
Thu, 25 Sep 2008 09:14:29 +0000 (17:14 +0800)
committerHuang Peng <shawn.p.huang@gmail.com>
Thu, 25 Sep 2008 09:14:29 +0000 (17:14 +0800)
client/x11/main.c

index e448bc54622a156ef91533bc49b678b8a1256cec..3fd942c838326fc64c9bdd9af2d13498a48e96a0 100644 (file)
@@ -496,7 +496,7 @@ _xim_forward_gdk_event (GdkEventKey *event, X11IC *x11ic)
     xkp.xkey.type = (event->type == GDK_KEY_PRESS) ? KeyPress : KeyRelease;
     xkp.xkey.serial = 0L;
     xkp.xkey.send_event = False;
-    xkp.xkey.same_screen = False;
+    xkp.xkey.same_screen = True;
     xkp.xkey.display = GDK_DISPLAY();
     xkp.xkey.window = x11ic->focus_window ? x11ic->focus_window : x11ic->client_window;
     xkp.xkey.subwindow = None;