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

Commit bf5d6ef2c18fb19462ba87adafcf85fd3eec3ade
Parent: 626d7e0695f4a3c7fba7c7861a5a2178e9e63552
Author: mcol <mcol@posteo.net>
Date: 2021-02-13 14:34:10 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2021-02-13 14:34:10 +0000

Don't unfocus when focussing to non-interactive layer surface

Fixes #33

src/shell.c Modified

@@ -43,6 +43,9 @@
     if (data) {
 	if (is_layer) {
 	    lview = (struct layer_view *)data;
+	    if (!lview->surface->current.keyboard_interactive) {
+		return;
+	    }
 	    if (!surface) {
 		surface = lview->surface->surface;
 	    }