Index: lib/X11/imInsClbk.c =================================================================== RCS file: /work/eich/freedesktop/cvs/xorg/xc/lib/X11/imInsClbk.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- lib/X11/imInsClbk.c 23 Apr 2004 18:43:24 -0000 1.2 +++ lib/X11/imInsClbk.c 15 Sep 2004 09:05:22 -0000 1.3 @@ -254,8 +254,18 @@ _XUnregisterFilter( display, RootWindow(display, 0), _XimFilterPropertyNotify, (XPointer)NULL ); +#if 0 + /* + * don't unregister the event mask + * (not even the PropertyNotify mask) + * as others may be interested. + * It shouldn't matter if we don't unregister + * as we are in the root window anyway so the + * event won't be propagated any further. + */ XSelectInput( display, RootWindow(display, 0), NoEventMask ); +#endif } else picb->next = icb->next;