awesome/tests
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
..
examples Make the output of the gears.object.signal example stable (#1703) 2017-04-08 10:00:34 +02:00
_client.lua tests/_client.lua: Improve error with Gtk 2 (#1506) 2017-02-02 22:30:04 +01:00
_multi_screen.lua tests: Break wibox for multiscreen tests (on purpose) 2017-02-07 11:37:07 -05:00
_runner.lua Fix some deprecated calls in code and docs 2017-03-30 21:26:50 -05:00
_wibox_helper.lua textclock: Move to wibox.widget 2016-05-30 17:51:19 -04:00
run.sh Speed up tests/run.sh on Travis (#1682) 2017-03-29 18:46:47 +02:00
test-awesomerc.lua test(awful: hotkeys_popup): add a minimal test 2017-02-05 21:32:43 +01:00
test-awful-client.lua Always emit property::floating when needed 2017-05-11 16:22:16 +02:00
test-awful-layout.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
test-awful-rules.lua Fix code using awful.util.round 2017-03-06 17:11:05 +01:00
test-awful-screen.lua Remove deprecated calls in tests 2017-03-30 23:07:20 -05:00
test-awful-tag.lua Remove deprecated calls in tests 2017-03-30 23:07:20 -05:00
test-awful-widget-button.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
test-awful-widget-only_on_screen.lua Add a only_on_screen container widget 2017-03-03 13:25:28 +01:00
test-awful-widget-watch.lua Make tests more reliable on "early errors" 2016-03-06 10:20:45 +01:00
test-benchmark.lua Fix Luacheck 0.19.0 release Travis breaks 2017-03-03 16:41:12 -06:00
test-client-swap.lua tests: fix indenting/style (#1303) 2016-12-27 21:39:08 +01:00
test-current-desktop.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
test-dbus-error.lua tests: fix indenting/style (#1303) 2016-12-27 21:39:08 +01:00
test-drawable-bgimage.lua tests: fix indenting/style (#1303) 2016-12-27 21:39:08 +01:00
test-focus.lua tests: fix indenting/style (#1303) 2016-12-27 21:39:08 +01:00
test-geometry.lua test-geometry: Wait for c:kill() to be done 2017-01-02 19:34:41 +01:00
test-keyboard-layout-changes.lua Asynchronously update the keyboard state 2017-03-28 15:21:01 +02:00
test-leak-client.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
test-leaks.lua Fix memory leak in the default config on screen removal 2016-09-30 22:46:51 +02:00
test-maximize.lua ewmh: Use the request:: API in the border_width / wa callback 2017-02-07 11:13:15 -05:00
test-miss-handlers.lua Add missing modelines to tests/*.lua 2016-12-31 14:05:51 +01:00
test-resize.lua client: Allow clients to have shapes 2017-02-03 17:48:28 -05:00
test-screen-changes.lua Add a test for screen :swap() 2016-10-29 09:36:31 +02:00
test-signal.lua tests: fix indenting/style (#1303) 2016-12-27 21:39:08 +01:00
test-spawn-snid.lua tests: fix indenting/style (#1303) 2016-12-27 21:39:08 +01:00
test-spawn.lua tests: fix indenting/style (#1303) 2016-12-27 21:39:08 +01:00
test-struts.lua tests: Validate wibar geometry in the struts test 2017-02-13 22:41:25 -05:00
test-tag-gap-single-client.lua Fix awful.tag.object.get_gap_single_client (#1190) 2016-10-26 01:43:45 +02:00
test-tooltip.lua Stabilize awful.tooltip code coverage (#1773) 2017-05-07 18:00:22 +02:00
test-urgent.lua tests: fix indenting/style (#1303) 2016-12-27 21:39:08 +01:00
test-use-after-gc.lua Improve behaviour of GC'd objects 2016-09-24 14:37:07 +02:00
test-wallpaper.lua tests: fix indenting/style (#1303) 2016-12-27 21:39:08 +01:00
test-wibox-shape.lua Add a kind of test for wibox shape support 2016-12-26 13:28:34 +01:00