Re: XFilterEvent and XCB



On Sun, 2005-09-04 at 22:27 -0700, Travis Spencer wrote:
> Hey All,
> 
> While working on the XCB port of GDK, I've run into a snag.  In
> gdkevents-x11.c, _gdk_events_queue calls XFilterEvent.   Since this
> function is static, I've changed the API to take an XCBGenericEvent
> rather than an XEvent, so I don't have anything to pass to
> XFilterEvent.  This is a problem because XCB doesn't support
> internationalization like Xlib does, and there is no XCB counterpart
> to XFilterEvent.   Does anyone have any advice that will help me work
> around this and continue porting short of changing the function's
> signature back to the original that accepts an XEvent[1]?

Reading the description of XFilterEvent, it seems clear that you should
just omit the call if xcb does not support XIM anyway...

Matthias




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]