shims: Emit property::geometry when resizing screens.
It allows to wibars to be resized.
This commit is contained in:
parent
6aabb73fa3
commit
0c53d76f25
|
@ -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"] = {
|
||||
|
|
Loading…
Reference in New Issue