gdk_im_begin() bug & patch
- From: Changwoo Ryu <cwryu adam kaist ac kr>
- To: gtk-list redhat com
- Subject: gdk_im_begin() bug & patch
- Date: 31 Oct 1998 03:56:32 +0900
Assign private's value to xim_ic, and compare private and xim_ic?
I think it is just a coding mistake. Hmm... Does kinput2 work
without XSetICFocus() ?
--- gdk.c.orig Sat Oct 31 03:48:55 1998
+++ gdk.c Sat Oct 31 03:48:42 1998
@@ -3104,7 +3104,6 @@
private = (GdkICPrivate *) ic;
xim_using = TRUE;
- xim_ic = private;
xim_window = window;
if (gdk_im_ready())
{
@@ -3113,7 +3112,10 @@
XSetICValues (private->xic, XNFocusWindow,
GDK_WINDOW_XWINDOW(window), NULL);
if (private != xim_ic)
- XSetICFocus (private->xic);
+ {
+ XSetICFocus (private->xic);
+ xim_ic = private;
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]