awesome/objects
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
..
button.c Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
button.h Clean up header includes 2014-03-30 20:07:48 +02:00
client.c maximize: Stop mixing horizontal, vertical and both. 2017-02-07 11:12:42 -05:00
client.h maximize: Stop mixing horizontal, vertical and both. 2017-02-07 11:12:42 -05:00
drawable.c Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
drawable.h drawable/drawin: Pass both lua_State and stack index around 2014-12-06 10:46:45 +01:00
drawin.c Partly fix removal of systray from a wibox 2017-03-11 18:14:38 +01:00
drawin.h Partly fix removal of systray from a wibox 2017-03-11 18:14:38 +01:00
key.c Remove obsolete include and Xlib comment. 2017-01-05 23:17:11 +01:00
key.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
screen.c screen.c: Always emit "primary_changed" when needed 2017-03-03 13:25:28 +01:00
screen.h Fix a bug moving between a tiled and a floating screen. 2016-09-02 20:15:00 +01:00
tag.c doc: mention to select a tag on awful.tag.add (#1520) 2017-02-04 15:13:12 +01:00
tag.h Attempt at better handling of NET_CURRENT_DESKTOP property. 2016-06-04 16:42:54 +03:00
window.c C: Remove unneeded calls to signal_add() 2016-06-04 17:57:08 +02:00
window.h geometry: Use the relevant rounding functions instead of integers 2016-04-18 04:20:22 -04:00