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