Great Circle Associates

XCIN Mail-list
(July 1999)


Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re[2]: Endless events
From: hashao <hashao@china.com>
Date: Sat, 3 Jul 1999 09:40:48 +0800
To: xcin@linux.org.tw
Reply-To: xcin@linux.org.tw

Hello,

Wednesday, June 30, 1999, 10:20:09 PM, you wrote:

THH> On Wed, Jun 30, 1999 at 09:35:07AM +0000, Steve Underwood wrote:
>> Hi,
>>
>> Since I first started work on xcin I have found that on some occasions
>> xcin gets a continuous stream of events from the client window. I am
>> trying a new window manager, flwm, and find this causes the problem
>> reliably. If I reduce a window to the title bar xcin always gets a
>> no-stop stream of events from the client. Before I investigate the cause
>> I wonder if this is a known problem which others have already looked at.
>> Can anyone help?

Okey, I come across it now. It seems like the xcin server received
some kind of ClientMessage (I assume that the xcin selected the event).
Then the xcin filtered the event and sent out some composed char. In
return, it got another ClientMessage, and it filtered, composed and the
thing goes on and on and on. Maybe some race condition happened.
                                          xx
I don't know if it is what happened to you but it is what happened to
me. Maybe there are something can be done about how the xcin handles
ClientMessage event. But I am not sure.

Beside, the sample testprog comes with xcin does not shown chinese
in its client window. I tested it on my Debian potato box (i.e. with
glibc2.1.1). Apparently, mbstowcs returned an empty string. In the
function check_char, the buf shows chinese but cch shows nothing.
Who else has the some result? Maybe it is a glibc problem?


Best regards,
 hashao                            mailto:hashao@china.com




Follow-Ups:
Indexed By Date Previous: Re: [khon@pop.tm.net.my: Re: Hello]
From: Yung-Ching Hsiao <hsiaoy@ee.eng.ohio-state.edu>
Next: Re: Endless events
From: Tung-Han Hsieh <thhsieh@linux.org.tw>
Indexed By Thread Previous: Re: [khon@pop.tm.net.my: Re: Hello]
From: Tung-Han Hsieh <thhsieh@linux.org.tw>
Next: Re: Endless events
From: Tung-Han Hsieh <thhsieh@linux.org.tw>