JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed the <M> togglelayout call
[dwm.git] / dwm.c
diff --git a/dwm.c b/dwm.c
index 3dc6f84..28b8fdf 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -151,7 +151,6 @@ void killclient(const char *arg);
 void manage(Window w, XWindowAttributes *wa);
 void mappingnotify(XEvent *e);
 void maprequest(XEvent *e);
-void monocle(void);
 void movemouse(Client *c);
 Client *nextunfloating(Client *c);
 void propertynotify(XEvent *e);
@@ -337,8 +336,6 @@ buttonpress(XEvent *e) {
                else if(ev->button == Button2) {
                        if(lt->arrange && c->isfloating)
                                togglefloating(NULL);
-                       else
-                               zoom(NULL);
                }
                else if(ev->button == Button3 && !c->isfixed) {
                        restack();
@@ -1013,15 +1010,6 @@ maprequest(XEvent *e) {
 }
 
 void
-monocle(void) {
-       Client *c;
-
-       for(c = clients; c; c = c->next)
-               if(!c->isfloating && isvisible(c))
-                       resize(c, wx, wy, ww - 2 * c->bw, wh - 2 * c->bw, RESIZEHINTS);
-}
-
-void
 movemouse(Client *c) {
        int x1, y1, ocx, ocy, di, nx, ny;
        unsigned int dui;