awesome/lib
Uli Schlachter 803264a488 Fix magnifier layout when focus is on another screen
The magnifier layout wants to ignore floating clients. Before 82342f0 this was
done by calling awful.client.floating.get(focus). If "focus" was nil, this might
have checked the floating status of a wrong client (if some other client was
focused, and the code in magnifier set focus=nil before). This issue can easily
be missed and might exist since forever. After 82342f, floating status is
checked via "focus.floating" and this now causes an "attempt to index nil value"
error instead. Much easier to notice.

Fix this by adding the missing nil check and while touching the code, merge this
with the previous "if" and correct another error (the wrong thing happened if we
had #cls=0).

Fixes: https://github.com/awesomeWM/awesome/issues/1103
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-09-24 14:37:07 +02:00
..
awful Fix magnifier layout when focus is on another screen 2016-09-24 14:37:07 +02:00
beautiful Minor doc fixes 2016-03-06 14:46:13 +01:00
gears wallpaper: Do not use the deprecated geometry access 2016-09-11 02:10:02 -04:00
menubar menubar: Do not use the deprecated geometry access 2016-09-11 01:55:33 -04:00
naughty wibox: Create a container module 2016-05-30 17:51:19 -04:00
wibox drawable: Prevent collected drawables from being redrawn. 2016-09-07 00:41:10 -04:00