gimp but for windows: a wayland compositor
git clone https://github.com/m-col/wimp
Files | Refs | Readme

Commit d1d22eb074acd47994e76007ba56fb8d525f9b7a
Parent: 13c16c0fd4d24757e553feef04ff3590ad583042
Author: mcol <mcol@posteo.net>
Date: 2021-01-28 20:23:26 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2021-01-28 20:23:26 +0000

fix small mistake in dragging

src/keyboard.c Modified

@@ -16,7 +16,7 @@
     );
 
     uint32_t modifiers = wlr_keyboard_get_modifiers(keyboard->device->keyboard);
-    bool handled;
+    bool handled = false;
     struct binding *kb;
     if ((modifiers & wimp.mod)) {
 	modifiers &= ~wimp.mod;

src/cursor.c Modified

@@ -161,7 +161,6 @@
 		}
 	    }
 	}
-	wimp.cursor_mode = CURSOR_PASSTHROUGH;
 	if (wimp.grabbed_view) {
 	    wimp.grabbed_view = NULL;
 	}