aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorokan2009-01-16 15:24:14 +0000
committerokan2009-01-16 15:24:14 +0000
commit13a190c9c75ba29a569c4adf686cd05b0cd698ac (patch)
tree83f36d330560f5871cd994ba90e3c855514d0766 /conf.c
parentf069a19b033cc9adb37dea328d36f15bcdc0c892 (diff)
downloadcwm-13a190c9c75ba29a569c4adf686cd05b0cd698ac.tar.gz
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@
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c6
1 files changed, 3 insertions, 3 deletions
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);
}
}