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

Commit 011a6da5cd9794307b165b7021e06e5a18f7efd0
Parent: 42111d36b71a149d03b8e5babe3a30c9a8118a43
Author: mcol <mcol@posteo.net>
Date: 2020-08-29 00:09:07 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2020-08-29 00:09:07 +0100

update dimensions when resetting window

xoop.c Modified

@@ -98,6 +98,10 @@
 
 void set_window_shape(uint16_t width, uint16_t height)
 {
+
+    uint32_t dimensions[2] = {width, height};
+    xcb_configure_window(conn, wid, XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT, dimensions);
+
     xcb_pixmap_t pixmap = xcb_generate_id(conn);
     xcb_gcontext_t gc = xcb_generate_id(conn);
     xcb_create_pixmap(conn, 1, pixmap, wid, width, height);