Re: Preventing windows from grabbing the focus

Tuomo Valkonen <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
On 2008-08-19, Tuomo Valkonen <[email protected]> wrote:
> Unfortunately, focus change is not a "request", unlike geometry change.
> Geometry changes get forwarded for the WM to act upon, and according
> to the ICCCM, it can do as it pleases, and the app must not fight
> back. (Many do, these days!) Focus change messages are acted upon by
> the server, and are honoured when they can be (i.e. the window is 
> visible, no active grabs, and so). AFAIK ICCCM does not discuss 
> whether the WM is allowed to overrule such changes by switching
> focus back.

PS. A more proper way for apps to actually _request_ the WM to
give focus, instead of forcing it, is the NET_WM_ACTIVE_WINDOW 
protocol. Ion ignores it by default, although it can be activated
with winprops.

-- 
Tuomo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.