awesome
awesome copied to clipboard
Minimization using the titlebar misbehaves in the default config.
(from Discord)
Output of awesome --version:
all of them
How to reproduce the issue:
local minimize_icon = wibox.widget {
{
image = beautiful.awesome_icon,
resize = true,
widget = wibox.widget.imagebox
},
buttons = gears.table.join(
awful.button({}, 1, function()
c.minimized = true
end)
),
widget = wibox.container.background
}
Actual result:
The client is minimized, but the button event is back propagated to the client itself. The clientbuttons kicks in and clicking on the client raises it by default. So the client get unminimzed.
Expected result:
Stay minimized.
This is a side effect of the other input backpropagation "bugs" where it's impossible to swallow the event and stop it from going up.