aboutsummaryrefslogtreecommitdiff
path: root/tile.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-19 13:17:49 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-19 13:17:49 +0100
commit5d9146ff372ae0c5196e290fb2c1f828d4137e20 (patch)
tree00a169f03b35cf5a62c2e6d765a13c6b12fc74b2 /tile.c
parent5cc27f1b3c61df4f048cdac9e0feb31a2dd80c63 (diff)
downloaddwm-5d9146ff372ae0c5196e290fb2c1f828d4137e20.tar.gz
dwm-5d9146ff372ae0c5196e290fb2c1f828d4137e20.tar.bz2
dwm-5d9146ff372ae0c5196e290fb2c1f828d4137e20.zip
some more refactoring
Diffstat (limited to 'tile.c')
-rw-r--r--tile.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tile.c b/tile.c
index a9bc0f5..fe25943 100644
--- a/tile.c
+++ b/tile.c
@@ -3,15 +3,17 @@
*/
#include "dwm.h"
+unsigned int master = MASTER;
+unsigned int nmaster = NMASTER;
+
/* static */
static void
togglemax(Client *c) {
XEvent ev;
-
+
if(c->isfixed)
return;
-
if((c->ismax = !c->ismax)) {
c->rx = c->x;
c->ry = c->y;