awesome/lib/awful
Uli Schlachter 40e9393d94 awful.autofocus: Discriminate sticky clients (#1697)
A relatively common problem with awesome is with mixing sticky clients
and the focus history. Once a sticky client ever had the focus, it will
always get the focus after a tag switch. This is because the focus
history is global and the sticky client is always the most recently
focused and currently visible client in the list.

Work around this by discriminating sticky clients: First try to find a
client to focus, but ignore sticky clients. When this does not find
anything, try again, but this time also consider sticky clients.

(Basically the same issue exists with clients that are on multiple tags,
but I guess that one can be ignored.)

Fixes: https://github.com/awesomeWM/awesome/issues/733
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-05-13 23:32:28 +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 Fix single layout not appearing in the keyboardlayout widget (#1771) 2017-05-13 23:25:09 +02:00
autofocus.lua awful.autofocus: Discriminate sticky clients (#1697) 2017-05-13 23:32:28 +02:00
button.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
client.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05: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 Fix fullscreen clients with gravity != NorthWest (#1764) 2017-05-13 23:31:14 +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 menu: Check if the client is still valid before accessing props 2017-05-11 12:47:06 -04:00
placement.lua Fix fullscreen clients with gravity != NorthWest (#1764) 2017-05-13 23:31:14 +02: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