shims: Emit property::geometry when resizing screens.

It allows to wibars to be resized.
This commit is contained in:
Emmanuel Lepage Vallee 2019-03-08 14:09:24 -05:00
parent 6aabb73fa3
commit 0c53d76f25
1 changed files with 2 additions and 0 deletions

View File

@ -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"] = {