On (29/05/07 11:40), Anselm R. Garbe wrote: > Hi anydot, Hi arg,
> > -focusmerge: > > merges function of focus() and focustopvisible() into one function > > focus(). It has parameter Client *c and this behaviour: > > - c == NULL: if selscreen then select topvisible window else > > deselect sel (used in leavenotify, while pointer goes to > > another screen in multihead setup). > > - c && isvisible(c): focus that client > > - else: select topvisible client > > this makes behaviour of focus(NULL) more intuitive, the function do > > the best to select the client AND everytime has some client selected > > - if there is someone visible (and if selscreen, of course :). Also > > allow some cleanup in layout functions, too; > > Applied, though I ask people with a multihead setup to test hg > tip NOW, that I can release 4.2 soon. I tested it in Xnest -scrn 2, and the behaviour is same as that before aplying this patch. --anydot
