[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    event.c freezes on XFilterEvent
From:       Vik <vik () zone81 ! com>
Date:       2003-12-31 6:57:53
Message-ID: 200312311557.53911.vik () zone81 ! com
[Download RAW message or body]

Hi,

I'm rather new to wine developement, and Xlib coding, and this is my first 
post to the list so bare with me please.... ;-)

dlls/x11drv/event.c seems to freeze at XFilterEvent and brings the app to 
seizure ever since all the TSX functions have been gotten rid off... 

This is what happens:
I run notepad, and start typing. Everything works fine until I hit shift+space 
which is the toggle for XIM (kinput in my case). 
Notepad freezes here. 

The trace on keyboard tells me that there is no character for the key 
combination and freezes right after;

trace:keyboard:KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ffe1

From my investigation, it seems that XFilterEvent (event.c, function 
process_events)
<code>
ignore = XFilterEvent( &event, None );
</code>
is causing this. If I get rid of the whole check, and pass all the events to 
EVENT_ProcessEvent() , notepad would not freeze.

XFilterEvent is supposed to return TRUE when the event is filtered by the XIM, 
but chances are that since the XIM functionalities are currently not really 
there, XFilterEvent cannot talk to the XIM context. 

As far as I remember when the TSX functions were there, the XIM window did pop 
up(despite XIM not working properly). I'm trying to trace the changes to see 
what might be causing this, but without much luck so far...

I'm more than willing to try and fix this, as XIM support is critical for 
people from my part of the world (Japan, and most likely for Korea & China). 
We've been coming up with rather crude patches to have XIM work till now(upto 
20031118), but can't get it to work because of this strange freezure we are 
experiencing....

Any pointers or thoughts will be greatly appreciated!

Cheers
Vik

-- 
------------
Vikram Kumar
vik@zone81.com



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic