remove pwin, bringing us to one client, one window. we no longer have
to push attributes around, so things get a lot simplier, while fixing a few issues in the meantime; original suggestion by Edd Barrett many many moons ago. annoying window placement and race, found in c2k8 by todd, fix by oga! lots of feedback from todd and oga - thanks! "commit that bad boy" oga@
This commit is contained in:
4
conf.c
4
conf.c
@@ -201,7 +201,7 @@ conf_client(struct client_ctx *cc)
|
||||
} else
|
||||
ignore = 1;
|
||||
|
||||
cc->bwidth = ignore ? 0 : 3;
|
||||
cc->bwidth = ignore ? 0 : CLIENT_BWIDTH;
|
||||
cc->flags |= ignore ? CLIENT_IGNORE : 0;
|
||||
}
|
||||
|
||||
@@ -530,6 +530,6 @@ conf_grab_mouse(struct client_ctx *cc)
|
||||
warnx("strange button in mousebinding\n");
|
||||
continue;
|
||||
}
|
||||
xu_btn_grab(cc->pwin, mb->modmask, button);
|
||||
xu_btn_grab(cc->win, mb->modmask, button);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user