diff options
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -197,6 +197,7 @@ static void resizeclient(Client *c, int x, int y, int w, int h); static void resizemouse(const Arg *arg); static void restack(Monitor *m); static void clientresize(const Arg *arg); +static void resetmfact(const Arg *arg); static void run(void); static void scan(void); static int sendevent(Client *c, Atom proto); @@ -1585,6 +1586,14 @@ restack(Monitor *m) } void +resetmfact(const Arg *arg) +{ + if (!selmon->lt[selmon->sellt]->arrange) return; + selmon->mfact = mfact; + arrange(selmon); +} + +void run(void) { XEvent ev; |
