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, Peter Romianowski <[email protected]> wrote:
> It would be great if I could just disable the focus request. Is this
> possible? I already searched the web, the documentation and the
> newsgroups for hours and hours but could not find a hint.

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.

-- 
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.