after switching to OpenBSD again, I switched back to a saner color scheme

This commit is contained in:
arg@localhost.10kloc.org
2006-08-21 17:41:09 +02:00
parent 2272df9d31
commit 1b9fe55025
2 changed files with 10 additions and 8 deletions

View File

@ -73,12 +73,14 @@ focus(Client *c)
{
Client *old = sel;
if (!issel)
if(!issel)
return;
if(sel && sel->ismax && sel != c)
togglemax(NULL);
sel = c;
if(old && old != c) {
if(!sel)
sel = c;
else if(sel != c) {
if(sel->ismax)
togglemax(NULL);
sel = c;
grabbutton(old, AnyButton, 0);
drawtitle(old);
}