Re: [dwm] Possible idea to fix the "focus-is-stolen-by-new-window-on-separate-view" problem

From: Anydot <dfenze_AT_gmail.com>
Date: Mon, 16 Jul 2007 22:07:39 +0200

On (16/07/07 21:55), Szabolcs Nagy wrote:
> actually focus(Client c) cheks if the client is visible
> so if a window steals focus then it uses some hideous trick.
>

That no trick or dark magic :)

for(c = stack; c && !isvisible(c); c = c->snext);

it simply try to found TOP visible client in case that current client is
not visible or client to focus is NULL (simplified).

-- 
Premysl "Anydot" Hruby >> http://na.srck.net <<
Received on Mon Jul 16 2007 - 22:07:46 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:46:19 UTC