commit 12628dd9db275290c32e777d22011bce5f9abbce
parent badc13c5fe0f1cccb605ac1c608cc32608d0b7c3
Author: ssnf <ssnf@ssnf.xyz>
Date: Tue, 5 Mar 2024 16:20:10 +0000
nothing
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dwm.c b/dwm.c
@@ -202,7 +202,6 @@ static int gettextprop(Window w, Atom atom, char* text, uint size);
static void grabbuttons(Client* c, int focused);
static void grabkeys(void);
static void keypress(XEvent* e);
-static void keyrelease(XEvent *e);
static void killclient(const Arg* arg);
static void manage(Window w, XWindowAttributes* wa);
static void mappingnotify(XEvent* e);
@@ -264,6 +263,7 @@ static void zoom(const Arg* arg);
static void fibonacci(Monitor *m);
static pid_t getparentprocess(pid_t p);
static int isdescprocess(pid_t p, pid_t c);
+static void keyrelease(XEvent *e);
static Client* swallowingclient(Window w);
static Client* termforwin(const Client* c);
static void togglefullscr(const Arg* arg);
@@ -1214,8 +1214,8 @@ grabkeys(void)
if ((code = XKeysymToKeycode(dpy, keys[i].keysym)))
for (j = 0; j < LENGTH(modifiers); ++j)
XGrabKey(
- dpy, code, keys[i].mod | modifiers[j], root, True, GrabModeAsync,
- GrabModeAsync
+ dpy, code, keys[i].mod | modifiers[j],
+ root, True, GrabModeAsync, GrabModeAsync
);
}
}