diff options
author | Daniel Stone <daniels@collabora.com> | 2022-01-18 18:59:33 +0000 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2022-03-31 17:15:55 +0000 |
commit | bd9b0676dd29672b64cabc5f07a33540e23bdceb (patch) | |
tree | a4256aca72f00a1e777c35664fae270d13885c15 /kiosk-shell | |
parent | 64ef87554b2e72c49f4e90f6c7947fe98e089695 (diff) | |
download | weston-bd9b0676dd29672b64cabc5f07a33540e23bdceb.tar.gz |
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>
Diffstat (limited to 'kiosk-shell')
-rw-r--r-- | kiosk-shell/kiosk-shell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kiosk-shell/kiosk-shell.c b/kiosk-shell/kiosk-shell.c index 1f98b631..c8c2276d 100644 --- a/kiosk-shell/kiosk-shell.c +++ b/kiosk-shell/kiosk-shell.c @@ -508,6 +508,8 @@ kiosk_shell_output_recreate_background(struct kiosk_shell_output *shoutput) curtain_params.width = output->width; curtain_params.height = output->height; + curtain_params.capture_input = true; + curtain_params.get_label = kiosk_shell_background_surface_get_label; curtain_params.surface_committed = NULL; curtain_params.surface_private = NULL; |