mirror of git://git.suckless.org/dwm
removed maximize, there will be monocle soon
This commit is contained in:
parent
7a496e9777
commit
e0d6451086
|
@ -45,7 +45,6 @@ Key keys[] = {
|
||||||
{ MODKEY, XK_k, focusprev, NULL },
|
{ MODKEY, XK_k, focusprev, NULL },
|
||||||
{ MODKEY, XK_h, setmwfact, "-0.05" },
|
{ MODKEY, XK_h, setmwfact, "-0.05" },
|
||||||
{ MODKEY, XK_l, setmwfact, "+0.05" },
|
{ MODKEY, XK_l, setmwfact, "+0.05" },
|
||||||
{ MODKEY, XK_m, maximize, NULL },
|
|
||||||
{ MODKEY, XK_r, reapply, NULL },
|
{ MODKEY, XK_r, reapply, NULL },
|
||||||
{ MODKEY, XK_Return, zoom, NULL },
|
{ MODKEY, XK_Return, zoom, NULL },
|
||||||
{ MODKEY, XK_Tab, viewprevtag, NULL },
|
{ MODKEY, XK_Tab, viewprevtag, NULL },
|
||||||
|
|
10
dwm.c
10
dwm.c
|
@ -174,7 +174,6 @@ void leavenotify(XEvent *e);
|
||||||
void manage(Window w, XWindowAttributes *wa);
|
void manage(Window w, XWindowAttributes *wa);
|
||||||
void mappingnotify(XEvent *e);
|
void mappingnotify(XEvent *e);
|
||||||
void maprequest(XEvent *e);
|
void maprequest(XEvent *e);
|
||||||
void maximize(const char *arg);
|
|
||||||
void movemouse(Client *c);
|
void movemouse(Client *c);
|
||||||
Client *nexttiled(Client *c, Monitor *m);
|
Client *nexttiled(Client *c, Monitor *m);
|
||||||
void propertynotify(XEvent *e);
|
void propertynotify(XEvent *e);
|
||||||
|
@ -1134,15 +1133,6 @@ maprequest(XEvent *e) {
|
||||||
manage(ev->window, &wa);
|
manage(ev->window, &wa);
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
void
|
||||||
movemouse(Client *c) {
|
movemouse(Client *c) {
|
||||||
int x1, y1, ocx, ocy, di, nx, ny;
|
int x1, y1, ocx, ocy, di, nx, ny;
|
||||||
|
|
Loading…
Reference in New Issue