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

Commit b699769544c82ac50acfcc8395940b09833ac109
Parent: 52e867d5e384272dba6bf7c40e3dafd2ed940e88
Author: mcol <mcol@posteo.net>
Date: 2021-01-30 10:49:16 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2021-01-30 10:49:16 +0000

factor in zoom when filtering views to render on an output

src/output.c Modified

@@ -144,7 +144,7 @@
 	if (
 		(view->x + view->surface->geometry.width + border_width < 0) ||
 		(view->y + view->surface->geometry.height + border_width < 0) ||
-		(view->x - border_width > width) || (view->y - border_width > height)
+		(view->x - border_width > width / zoom) || (view->y - border_width > height / zoom)
 	) {
 	    continue;
 	}