On Sun, Feb 20, 2005 at 06:39:25PM +0100, Matthieu Moy wrote:
> I guess ion never gives the focus to the window, but the window can
> request the focus, and ion will accept that.

Focus requests are not forwarded to the window manager to be handled unlike
many other things. Although it should be considered bad behaviour for apps
to manipulate the focus of top-level windows, I don't think the ICCCM says
anything about this. The extended wm hints have _NET_ACTIVE_WINDOW request
that apps should use, and Ion currently always follows this request. If the
program is using X focus change routines to force the focus on the window,
the app should be fixed to not do so, but there's no point in adding awful
kludges to Ion to try to undo the focus change. If the app is using
_NET_ACTIVE_WINDOW request, it should be fixed to not do so where it is not
necessary or expected (perhaps the only good use for the request is window
lists in programs). If there are many such apps whose writers are assholes
and won't correct the behaviour, perhaps a ignore_net_active_window winprop
could be added.

-- 
Tuomo

Reply via email to