summaryrefslogtreecommitdiffstats
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
parentintroduced tile.c, some refactoring of functions (diff)
downloaddwm-5d9146ff372ae0c5196e290fb2c1f828d4137e20.tar.gz
dwm-5d9146ff372ae0c5196e290fb2c1f828d4137e20.zip
some more refactoring
Diffstat (limited to '')
-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 @@
3 */ 3 */
4#include "dwm.h" 4#include "dwm.h"
5 5
6unsigned int master = MASTER;
7unsigned int nmaster = NMASTER;
8
6/* static */ 9/* static */
7 10
8static void 11static void
9togglemax(Client *c) { 12togglemax(Client *c) {
10 XEvent ev; 13 XEvent ev;
11 14
12 if(c->isfixed) 15 if(c->isfixed)
13 return; 16 return;
14
15 if((c->ismax = !c->ismax)) { 17 if((c->ismax = !c->ismax)) {
16 c->rx = c->x; 18 c->rx = c->x;
17 c->ry = c->y; 19 c->ry = c->y;