aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2012-03-20 13:41:16 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2012-03-20 13:54:11 +0200
commit1626f609a209bef0ff1d60b4e9ae2c664d604259 (patch)
tree5e1c8f39f9e60a6fdb40fcf022978198bb11fcc4
parentc2fe8e92d1a87e20c10f299e9d21b4cc3069da17 (diff)
remove NEXT PREV aliases
-rw-r--r--monsterwm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/monsterwm.c b/monsterwm.c
index 7d6711f..46ab69b 100644
--- a/monsterwm.c
+++ b/monsterwm.c
@@ -17,7 +17,7 @@
#define BUTTONMASK ButtonPressMask|ButtonReleaseMask
#define ISFFT(c) (c->isfullscrn || c->isfloating || c->istransient)
-enum { PREV = -1, NEXT = 1, RESIZE, MOVE };
+enum { RESIZE, MOVE };
enum { TILE, MONOCLE, BSTACK, GRID, MODES };
enum { WM_PROTOCOLS, WM_DELETE_WINDOW, WM_COUNT };
enum { NET_SUPPORTED, NET_FULLSCREEN, NET_WM_STATE, NET_ACTIVE, NET_COUNT };
@@ -149,8 +149,7 @@ static int xerrorstart();
static Bool running = True;
static int previous_desktop = 0, current_desktop = 0;
-static int mode = DEFAULT_MODE;
-static int screen, wh, ww; /* window area width/height - screen height minus the panel height */
+static int screen, wh, ww, mode = DEFAULT_MODE;
static int (*xerrorxlib)(Display *, XErrorEvent *);
static unsigned int numlockmask = 0, win_unfocus, win_focus;
static Display *dis;