awesome/lib/wibox/widget
Uli Schlachter c02969bb0e wibox.widget.systray: Also emit redraw_needed
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>
2015-11-29 12:33:13 +01:00
..
background.lua Explicitly track dependencies between widgets 2015-09-17 18:17:05 +02:00
base.lua doc: fix format for wibox.widget.base.make_widget 2015-11-05 23:05:42 +01:00
imagebox.lua doc: fix unintentional rendering as code due to indent 2015-10-14 00:22:26 +02:00
init.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00
systray.lua wibox.widget.systray: Also emit redraw_needed 2015-11-29 12:33:13 +01:00
textbox.lua Textbox: Add API for queriying preferred size (#466) 2015-10-17 19:13:26 +02:00