From 13a190c9c75ba29a569c4adf686cd05b0cd698ac 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index 3c17492..d55677d 100644 --- a/conf.c +++ b/conf.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: conf.c,v 1.51 2009/01/08 21:35:19 oga Exp $ + * $Id: conf.c,v 1.52 2009/01/16 15:24:14 okan Exp $ */ #include "headers.h" @@ -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 v1.2.3-2-gb3c3