shell: Make input capture optional for curtains

desktop-shell's focus surfaces want to reuse this, but they don't want
to capture the input, instead allowing it to fall through.

Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Daniel Stone
2022-01-18 18:59:33 +00:00
parent 64ef87554b
commit bd9b0676dd
4 changed files with 10 additions and 2 deletions
+1
View File
@@ -2092,6 +2092,7 @@ shell_ensure_fullscreen_black_view(struct shell_surface *shsurf)
.surface_committed = black_surface_committed,
.get_label = black_surface_get_label,
.surface_private = shsurf->view,
.capture_input = true,
};
assert(weston_desktop_surface_get_fullscreen(shsurf->desktop_surface));