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

Commit d7702a28f9cd2dbf918cb14515b83e9569984552
Parent: 
Author: mcol <mcol@posteo.net>
Date: 2020-04-17 19:47:29 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2020-04-17 19:47:29 +0100

set up xwarppointer

xinf.c Added

@@ -0,0 +1,21 @@
+// gcc xinf.c -lX11
+
+#include <stdlib.h>
+#include <X11/Xlib.h>
+
+int main()
+{
+   Display *dpy;
+
+   if (NULL == (dpy = XOpenDisplay(NULL))) {
+      exit(1);
+   }
+
+   XWarpPointer(dpy, None, DefaultRootWindow(dpy), 0, 0, 0, 0, 0, 0);
+
+   if (XCloseDisplay(dpy)) {
+      exit(1);
+   }
+
+   return 0;
+}