awesome/lib/wibox
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
..
container doc: Fix arcchart documentation (#1643) 2017-03-08 16:05:23 -05:00
layout gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
widget Partly fix removal of systray from a wibox 2017-03-11 18:14:38 +01:00
drawable.lua Partly fix removal of systray from a wibox 2017-03-11 18:14:38 +01:00
hierarchy.lua wibox.hierarchy: Add ability to count widgets 2017-03-11 13:55:57 +01:00
init.lua Merge pull request #1475 from psychon/input-shape-support 2017-02-03 12:25:56 -05:00