awesome/lib
Uli Schlachter e1bad41fc8 Always emit property::floating when needed
There are some cases where a client's floating state "silently" changes.
For example, a fullscreen client will be considered floating. However,
even though c.floating changes its value in this case, we did not emit
the property::floating signal.

Fix this by explicitly tracking the "implicitly floating" state. When
some property that influences this "implicitly floating" state changes,
we update it and if a client which was not explicitly assigned a
floating state observes a change in this value, property::floating is
emitted.

This was tested by running a terminal and two xeyes in a tag with a
tiling layout where awful.ewmh was patched so that clients do not change
their geometry when fullscreening or maximizing. It was observable that
after this patch e.g. the titlebar and the tasklist update to show the
floating state of the client which became implicitly floating due to
being maximized.

Fixes: https://github.com/awesomeWM/awesome/issues/1662
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-05-11 16:22:16 +02:00
..
awful Always emit property::floating when needed 2017-05-11 16:22:16 +02:00
beautiful gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
gears wallpaper: Turn asserts into warning 2017-04-24 03:10:03 -04:00
menubar menubar: assert() that io.open() succeeds 2017-04-08 11:02:01 +02:00
naughty Update notification size in naughty.replace_text (#1756) 2017-05-07 18:01:35 +02:00
wibox Add timezone option for textclock widget (#1743) 2017-04-21 16:34:23 +02: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