You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a client is set to magnify using lain.util.magnify_client it's size doesn't grow or shrink as does a client in the default magnify layout, when using modkey+h and modkey+l. However when disabling magnify and reenabling it again the size of the client is different. It would be very useful if you could actually see it grow/shrink.
The text was updated successfully, but these errors were encountered:
The function magnify_client sets the client to float and resizes it.
When you later call awful.client.incwfact, this one only works on non-floating clients, that's why you don't see the lain-magnified client changing its geometry.
Plus, magnify_client calls awful.tag.getmwfact, and that's why toggling it you see the geometry finally changing.
In order to make magnify_client behave like magnifier, update to latest commit and use lain.util.mc() after incmwfact:
awful.key({ modkey, }, "l",
function ()
awful.tag.incmwfact( 0.05)
lain.util.mc()
end),
awful.key({ modkey, }, "h",
function ()
awful.tag.incmwfact(-0.05)
lain.util.mc()
end),
When a client is set to magnify using
lain.util.magnify_client
it's size doesn't grow or shrink as does a client in the default magnify layout, when usingmodkey+h
andmodkey+l
. However when disabling magnify and reenabling it again the size of the client is different. It would be very useful if you could actually see it grow/shrink.The text was updated successfully, but these errors were encountered: