X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=dwm.c;h=28b8fdfc21e0fbb5ab8bc3c3f9038a03871db121;hb=42cb2bd3be755e8fc358347e085e9609fa54eb57;hp=3dc6f8423b145c0a9e45a4ce926993dcec16567c;hpb=14d8d828abbb91db3305dfa666c8c70358d1d3c7;p=dwm.git diff --git a/dwm.c b/dwm.c index 3dc6f84..28b8fdf 100644 --- 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(); @@ -1012,15 +1009,6 @@ maprequest(XEvent *e) { manage(ev->window, &wa); } -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;