aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranselm@anselm1 <unknown>2007-12-22 12:52:14 +0000
committeranselm@anselm1 <unknown>2007-12-22 12:52:14 +0000
commite0d6451086eba0642cff83c2a8e05ff84be60488 (patch)
tree520445f63c7e78ef6aa10a408aafeff01ea7141e
parent7a496e9777f2656987ba86dbba1e87a46a483fac (diff)
removed maximize, there will be monocle soon
-rw-r--r--config.def.h1
-rw-r--r--dwm.c10
2 files changed, 0 insertions, 11 deletions
diff --git a/config.def.h b/config.def.h
index 3cb562a..e76a1f1 100644
--- a/config.def.h
+++ b/config.def.h
@@ -45,7 +45,6 @@ Key keys[] = {
{ MODKEY, XK_k, focusprev, NULL },
{ MODKEY, XK_h, setmwfact, "-0.05" },
{ MODKEY, XK_l, setmwfact, "+0.05" },
- { MODKEY, XK_m, maximize, NULL },
{ MODKEY, XK_r, reapply, NULL },
{ MODKEY, XK_Return, zoom, NULL },
{ MODKEY, XK_Tab, viewprevtag, NULL },
diff --git a/dwm.c b/dwm.c
index 547218a..259327d 100644
--- a/dwm.c
+++ b/dwm.c
@@ -174,7 +174,6 @@ void leavenotify(XEvent *e);
void manage(Window w, XWindowAttributes *wa);
void mappingnotify(XEvent *e);
void maprequest(XEvent *e);
-void maximize(const char *arg);
void movemouse(Client *c);
Client *nexttiled(Client *c, Monitor *m);
void propertynotify(XEvent *e);
@@ -1135,15 +1134,6 @@ maprequest(XEvent *e) {
}
void
-maximize(const char *arg) {
-/*
- if(!sel || (!sel->isfloating && layout->arrange != floating))
- return;
- resize(sel, wax, way, waw - 2 * sel->border, wah - 2 * sel->border, True);
-*/
-}
-
-void
movemouse(Client *c) {
int x1, y1, ocx, ocy, di, nx, ny;
unsigned int dui;