awesome/lib
Uli Schlachter 51e4a47938 Partly fix removal of systray from a wibox
This commit changes the systray widget, wibox.drawable and the C code to
fix the following bug: When the systray widget is removed from a
drawable without being moved somewhere else, the systray stayed visible.
This was because the systray is not drawn by awesome, but only placed.
When the widget is no longer "drawn", it stays wherever it was placed
last.

This change works by detecting the situation when the systray is
removed. Then, the C code is specifically told to remove the systray
window from the drawable.

Note that this is only a partial fix. This change works correctly when
the widget is removed completely, because it is no longer placed by its
parent widget. However, for example, when you do
wibox.widget.systray().visible = false, the effect is just that the
systray widget gets size 0x0. This is not really visible, but as far as
this change is concerned, the widget is still part of the drawable.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-03-11 18:14:38 +01:00
..
awful awful.screen.focus_bydirecttion: fix setting screen focus (#1635) 2017-03-09 00:07:35 -05:00
beautiful gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
gears Move ensure_pango_color out of awful.util into gears.color 2017-03-08 15:28:48 -06:00
menubar Move ensure_pango_color out of awful.util into gears.color 2017-03-08 15:28:48 -06:00
naughty gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
wibox Partly fix removal of systray from a wibox 2017-03-11 18:14:38 +01:00
beautiful.lua Add pointless naughty.lua and beautiful.lua files (#1259) 2016-12-08 23:53:50 +01:00
naughty.lua Add pointless naughty.lua and beautiful.lua files (#1259) 2016-12-08 23:53:50 +01:00