commit 2067e566a984890860ebe3693b39075809d2cb74
Author: Hiltjo Posthuma <[email protected]>
Date:   Fri Jan 11 12:11:36 2019 +0100

    moveresize: fix code indentation and list items (new line)

diff --git a/dwm.suckless.org/patches/moveresize/index.md 
b/dwm.suckless.org/patches/moveresize/index.md
index d61f1626..f9be32fd 100644
--- a/dwm.suckless.org/patches/moveresize/index.md
+++ b/dwm.suckless.org/patches/moveresize/index.md
@@ -10,30 +10,30 @@ Usage
 -----
 1. Put the following `moveresize()` function somewhere in your `dwm.c`,
   **after** the line which includes the config.h file:
-
+  
        static void
        moveresize(const Arg *arg)
        {
                XEvent ev;
                Monitor *m = selmon;
-
+               
                if(!(m->sel && arg && arg->v && m->sel->isfloating))
                        return;
-
+               
                resize(m->sel, m->sel->x + ((int *)arg->v)[0],
                        m->sel->y + ((int *)arg->v)[1],
                        m->sel->w + ((int *)arg->v)[2],
                        m->sel->h + ((int *)arg->v)[3],
                        True);
-
+               
                while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
        }
-
+  
 2. Add a moveresize() function definition in dwm.c below the line:
        static void movemouse(const Arg *arg);
        
        static void moveresize(const Arg *arg);
-
+  
 3. Insert the bindings into the keys list. Here is an example which uses the
    arrow keys to move (mod+arrow) or resize (mod+shift+arrow) the selected
    client:


Reply via email to