Re: how to determine if a window has been entered/exited
- From: Havoc Pennington <hp redhat com>
- To: Matthias Clasen <maclas gmx de>
- Cc: gtk-devel-list gnome org
- Subject: Re: how to determine if a window has been entered/exited
- Date: Thu, 8 May 2003 17:26:28 -0400
On Thu, May 08, 2003 at 11:16:03PM +0200, Matthias Clasen wrote:
>
> According to the X protocol reference, the toplevel should get a
> LeaveNotify with mode Grab and detail Nonlinear when the grab activates.
> Maybe gdk doesn't translate LeaveNotifys with mode != Normal into
> CrossingEvents...
>
The problem is that you don't usually really want grabs to "count" -
e.g. you don't want to hide the panel when you open a panel menu, and
in a window manager with mouse focus you don't want to display the
focused window as unfocused whenever the application grabs the mouse.
So X is just really annoying here. There's no magic fix I know of.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]