Hi Peter, 2009/2/9 Peter Hartlich <[email protected]>: >> It appears to me that both the onscreen keyboard and the client with >> the input focus should have a selfg border -- at least that makes most >> sense in my opinion. > > But you need to be able to distinguish between dwm's _selected_ (for > tagging, closing etc.) client and X's _focused_ client. Killing your > terminal window on accident could be awful.
What's wrong with focussing the next in the stack? >> Introducing another couple just for that sounds quite over-engineered >> to me. > > Agreed. > > What I would propose is the attached series of patches for hg import: > The first renames focus() to selclient() and focusstack() to selstack(). > The second adds a new focus() function calling XSetInputFocus() and > saving the client in a global foc (analogue to sel) variable; it then > implements isfocusable based on the Gottox port + selfgcolor border > for focused, but unselected windows. Agreed, I'll apply your patches. > By the way, your last commits have "a...@null" as the author? I will address this. I'm using a fresh host. Kind regards, --Anselm
