Introduction
Introduction Statistics Contact Development Disclaimer Help
tsome more refactoring - dwm - [fork] customized build of dwm, the dynamic wind…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 5d9146ff372ae0c5196e290fb2c1f828d4137e20
parent 5cc27f1b3c61df4f048cdac9e0feb31a2dd80c63
Author: Anselm R. Garbe <[email protected]>
Date: Mon, 19 Feb 2007 13:17:49 +0100
some more refactoring
Diffstat:
M main.c | 4 +---
M tile.c | 6 ++++--
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/main.c b/main.c
t@@ -19,7 +19,7 @@
char stext[256];
int bh, bmw, screen, sx, sy, sw, sh, wax, way, waw, wah;
-unsigned int master, nmaster, ntags, numlockmask;
+unsigned int ntags, numlockmask;
Atom wmatom[WMLast], netatom[NetLast];
Bool running = True;
Bool *seltag;
t@@ -133,8 +133,6 @@ setup(void) {
sx = sy = 0;
sw = DisplayWidth(dpy, screen);
sh = DisplayHeight(dpy, screen);
- master = MASTER;
- nmaster = NMASTER;
bmw = textw(TILESYMBOL) > textw(FLOATSYMBOL) ? textw(TILESYMBOL) : tex…
/* bar */
dc.h = bh = dc.font.height + 2;
diff --git a/tile.c b/tile.c
t@@ -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;
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.