From ec8e6052ba902d2b6afced31008aad015d38f062 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 16 Jan 2009 15:24:14 +0000 Subject: 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@ --- conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index d874050..74a07af 100644 --- a/conf.c +++ b/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); } } -- cgit 1.4.1