From 0c53d76f253a26a664e2b0976930806ee4b15699 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Fri, 8 Mar 2019 14:09:24 -0500 Subject: [PATCH] shims: Emit property::geometry when resizing screens. It allows to wibars to be resized. --- tests/examples/shims/screen.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/examples/shims/screen.lua b/tests/examples/shims/screen.lua index 10abbc9c..4fbdb5e7 100644 --- a/tests/examples/shims/screen.lua +++ b/tests/examples/shims/screen.lua @@ -19,10 +19,12 @@ local function create_screen(args) } function s._resize(args2) + local old = s.geometry geo.x = args2.x or geo.x geo.y = args2.y or geo.y geo.width = args2.width or geo.width geo.height = args2.height or geo.height + s:emit_signal("property::geometry", old) end s.outputs = { ["LVDS1"] = {