Loop your X cursor around the screen 👉😎👉
git clone https://github.com/m-col/xoop
Files | Refs | Readme | License

Commit fe3cb4817413cf8d233cdc20598b1eb0e486813d
Parent: 329816adcf3cda1d4b33f6fcf50d5367781ce813
Author: Aaron Dill <aaronsacks2006@gmail.com>
Date: 2025-09-18 20:03:34 -0500
Committer: Aaron Dill <aaronsacks2006@gmail.com>
Committed: 2025-09-18 20:03:34 -0500

fix: add signal handler int param

the `signal` function takes (void (int)), not (void (void)). This was
causing the compilation with gcc to error on my machine.
See `man 2 signal`:
`typeof(void (int)) *signal(int signum, typeof(void (int)) *handler);`

xoop.c Modified

@@ -103,8 +103,9 @@
 }
 
 
-void exit_nicely()
+void exit_nicely(int sig)
 {
+    (void)(sig); // Unused
     delete_barriers();
     xcb_disconnect(conn);
     exit(EXIT_SUCCESS);
@@ -278,6 +279,6 @@
 
     event_loop();
 
-    exit_nicely();
+    exit_nicely(0);
     return 0;
 }