summaryrefslogtreecommitdiff
path: root/togglemouse.c
diff options
context:
space:
mode:
authorProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-08-15 20:13:41 +0100
committerProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-08-15 20:13:41 +0100
commit0d2a08bcf9dead11ac699bae0e6861d597cc08d8 (patch)
treed7a799d3a4283a39f7c0e52a41fd02188db29801 /togglemouse.c
parentbb66c2a6c1bec4bada52a5f4972d60b3148b6800 (diff)
fix compilation with togglemouse
Diffstat (limited to 'togglemouse.c')
-rw-r--r--togglemouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/togglemouse.c b/togglemouse.c
index 4642b35..9c46189 100644
--- a/togglemouse.c
+++ b/togglemouse.c
@@ -2,7 +2,7 @@ static Window fw = 0;
static int locked = 0;
void
-togglemouse(const Arg *arg)
+togglemouse(const Arg *arg) {
if (locked) {
XUngrabPointer(dpy, CurrentTime);
XWarpPointer(dpy, None, selmon->sel->win, 0, 0, 0, 0, selmon->sel->w/2, selmon->sel->h/2);