awesome/lib/awful
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
..
client Fix client shape handling 2017-02-04 07:20:56 +01:00
hotkeys_popup Add a header to hotkeys_popup.keys.firefox to make LDoc happy 2017-04-08 11:18:07 +02:00
layout fixup! Fix code using awful.util.cycle 2017-03-06 17:28:08 +01:00
mouse doc fixes for awful.mouse.resize, awful.rules, awful.util (#1717) 2017-04-10 21:57:12 +02:00
widget Remove deprecated calls in tests 2017-03-30 23:07:20 -05:00
autofocus.lua Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
button.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
client.lua Always emit property::floating when needed 2017-05-11 16:22:16 +02:00
completion.lua Fix Luacheck 0.19.0 release Travis breaks 2017-03-03 16:41:12 -06:00
dbus.lua Remove traces of the old URL (#1280) 2016-12-21 02:03:03 +01:00
ewmh.lua awful.ewmh.add_activate_filter: Fix doc example 2017-04-02 18:20:48 +02:00
init.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00
key.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
keygrabber.lua Fix some deprecated calls in code and docs 2017-03-30 21:26:50 -05:00
menu.lua Move string functions out of awful.util into new gears.string (#1584) 2017-03-11 18:57:32 -05:00
placement.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00
prompt.lua awful.prompt: Use g.filesystem.make_parent_dir() 2017-04-08 11:02:01 +02:00
remote.lua Remove traces of the old URL (#1280) 2016-12-21 02:03:03 +01:00
rules.lua doc fixes for awful.mouse.resize, awful.rules, awful.util (#1717) 2017-04-10 21:57:12 +02:00
screen.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00
spawn.lua Fix Luacheck 0.19.0 release Travis breaks 2017-03-03 16:41:12 -06:00
startup_notification.lua Add beautiful property to control busy cursor during spawn 2017-03-01 21:57:59 +01:00
tag.lua Merge pull request #1666 from awesomeWM/doc_tag_signal 2017-03-19 17:21:42 -04:00
titlebar.lua Fix 'no such file' errors for icons (#1655) 2017-03-15 17:29:53 +01:00
tooltip.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
util.lua Merge pull request #1699 from psychon/cache-dirs 2017-04-18 14:40:22 +02:00
wibar.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00
wibox.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00