nanogui: Query !!


Previous by date: 26 Oct 2000 18:22:00 -0000 Query !!, Ritesh Saigal
Next by date: 26 Oct 2000 18:22:00 -0000 Re: microwin for the motorola coldfire processor?, George Harvey
Previous in thread: 26 Oct 2000 18:22:00 -0000 Query !!, Ritesh Saigal
Next in thread: 26 Oct 2000 18:22:00 -0000 Re: Query !!, Ritesh Saigal

Subject: Re: Query !!
From: "Greg Haerr" ####@####.####
Date: 26 Oct 2000 18:22:00 -0000
Message-Id: <06ee01c03f7a$00a5cdc0$15320cd0@gregh>

: In my application in Linux, I am not receiving button-up events.
: I have enabled the buttonup events with following piece of code.
: 
: GrSelectEvents(win1, GR_EVENT_MASK_KEY_UP);


This can be a bit tricky.  It's likely that what's happening is that the
server is performing an "implicit window grab" on the window below
your window.  The server will perform an implicit grab on any window
that has both KEY_DOWN and KEY_UP masks set on it.  If your
window only has UP selected, then the search continues to windows
below your window.  So, you'll probably have to or in KEY_DOWN
in order to get your up events also, but the mouse will then be grabbed
outside your window if the mouse moves out as well.

Regards,

Greg


Previous by date: 26 Oct 2000 18:22:00 -0000 Query !!, Ritesh Saigal
Next by date: 26 Oct 2000 18:22:00 -0000 Re: microwin for the motorola coldfire processor?, George Harvey
Previous in thread: 26 Oct 2000 18:22:00 -0000 Query !!, Ritesh Saigal
Next in thread: 26 Oct 2000 18:22:00 -0000 Re: Query !!, Ritesh Saigal


Powered by ezmlm-browse 0.20.