From 0642d9296749027d86b2276f5490dc22f6cb776a Mon Sep 17 00:00:00 2001 From: Adrian Gabriel <47324203+lawsdontapplytopigs@users.noreply.github.com> Date: Tue, 12 Mar 2019 18:23:53 +0200 Subject: [PATCH] Fixed input_passthrough property not being set (#2723) * Fixed input_passthrough property not being set In the table of properties supplied to the `wibox` function, you couldn't set the `input_passthrough` property. You could only set it after the wibox was created like this: `my_shlick_wibox.input_passthrough = true`. This commit fixes that and now you can set it in both ways. --- lib/wibox/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wibox/init.lua b/lib/wibox/init.lua index a62c2aee6..383cf50fa 100644 --- a/lib/wibox/init.lua +++ b/lib/wibox/init.lua @@ -340,7 +340,7 @@ local function new(args) ret.shape = args.shape end - if args.screen then + if args.input_passthrough then ret.input_passthrough = args.input_passthrough end