c02969bb0e
When emitting layout_changed, the widget is relayouted. If this doesn't actually change anything, nothing will be redrawn. Thus, this also emits redraw_needed to force redraws. This fixes a race condition with some weird tray icons. A new tray icon is created and the systray is updated. Then this new icon is destroyed immediately again and at the same time another icon is created. Then, the systray isn't updated since the number of icons (=the layout) did not actually change. However, it needs to be updated and so we ended up with broken/missing icons. Fixes: https://github.com/awesomeWM/awesome/issues/487 Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
background.lua | ||
base.lua | ||
imagebox.lua | ||
init.lua | ||
systray.lua | ||
textbox.lua |