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

Commit 571f5228bbc3ba85e227b714613f2e10ae906280
Parent: 23600c53fbdf886fcbc2fc4a5913c75d26821e26
Author: mcol <mcol@posteo.net>
Date: 2021-01-30 22:48:47 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2021-01-30 22:48:47 +0000

fix marking

src/action.c Modified

@@ -264,8 +264,9 @@
     wl_list_for_each(mark, &wimp.marks, link) {
 	if (mark->key == sym) {
 	    struct motion motion = {
-		.dx = mark->x - mark->desk->panned_x,
-		.dy = mark->y - mark->desk->panned_y,
+		.dx = mark->desk->panned_x - mark->x,
+		.dy = mark->desk->panned_y - mark->y,
+		.is_percentage = false,
 	    };
 	    mark->desk->zoom = mark->zoom;
 	    set_desk(mark->desk);