[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: Re: FocusIn on window destruction
From: Peter Hutterer <mailinglists () who-t ! net>
Date: 2008-04-29 4:59:49
Message-ID: 4816A875.2020905 () who-t ! net
[Download RAW message or body]
Jeremy Huddleston wrote:
> I've come to the point where I don't want to bang my head trying to
> untangle spaghetti that someone else probably understands much better
> and can just point me to the proper function call... When I close a
> window, the WM is receiving a FocusIn event for the next window that
> should gain focus. Unfortunately for us on OSX, this sometimes causes
> us to swap Spaces... so I need to add in some logic to handle that
> case (set focus on the root win if there are no windows in the current
> space).
>
> I can't seem to figure out where this FocusIn event is being generated
> from (or more specifically where the logic is that chooses the "next"
> window). Could someone possibly clue me in and help untangle this
> mess in my head.
Check out the man page for XSetInputFocus, parameter revert_to. Looks
like this might be the cause.
Cheers,
Peter
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic