awesome/lib/awful
Uli Schlachter 55dee1ea87 magnifier layout: Never manage floating windows (#2046)
The magnifier layout handles the currently focused client specially.
However, if the currently floating client is floating, it should not be
handled by the layout at all. A bug caused the magnifier layout to
handle a focused and floating client anyway if it was the only tiled
client.

Fix this by removing the '#cls > 0'-case. If #cls == 0, then no client
is available to be managed. Thus, cls[1] will be nil, which is fine
since, well, no client is available to be managed. This only made a
difference in the specific bug that I described above. Thus, drop this
case.

Fixes: https://github.com/awesomeWM/awesome/issues/2045
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-09-28 22:56:41 +02:00
..
client awful.client.shape: Finish the shape image when done with it 2017-08-04 13:13:22 +02:00
hotkeys_popup fix(awful: hotkeys_popup: keys): require all modules in init.lua 2017-06-12 20:39:46 -04:00
layout magnifier layout: Never manage floating windows (#2046) 2017-09-28 22:56:41 +02:00
mouse mouse: Fix a bad refactoring 2017-08-19 22:50:17 -04:00
widget Merge pull request #2029 from actionless/calendar-fix-click-hide 2017-09-09 05:14:02 +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 Fix documentation 2017-06-14 10:42:50 +02:00
completion.lua Add startswith and endswith function to gears.string, change awful.completion to use startswith over local function 2017-08-14 10:48:12 -05:00
dbus.lua Remove traces of the old URL (#1280) 2016-12-21 02:03:03 +01:00
ewmh.lua Fix documentation of activation filter 2017-06-14 11:34:56 +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 Add entry for menu font in theme (#1961) 2017-08-07 14:36:40 -04:00
placement.lua fix(awful: placement: no_overlap): use new placement infrastructure (#2032) 2017-09-09 16:26:54 -04:00
prompt.lua minor: check textbox earlier, whitespace 2017-06-27 00:04:40 +02:00
remote.lua Remove traces of the old URL (#1280) 2016-12-21 02:03:03 +01:00
rules.lua doc: improve/fix doc for awful.rules (#2005) 2017-08-20 13:37:03 -04: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 awful.spawn: fix doc for spawn.easy_async{,_with_shell} (#1877) 2017-06-26 22:44:08 +02:00
startup_notification.lua Add beautiful property to control busy cursor during spawn 2017-03-01 21:57:59 +01:00
tag.lua awful.tag: Apply a default layout to tags (#1952) 2017-07-29 13:58:45 -04:00
titlebar.lua Fix 'no such file' errors for icons (#1655) 2017-03-15 17:29:53 +01:00
tooltip.lua Fix the example in the tooltip docs (#1980) 2017-08-13 12:23:40 +02:00
util.lua Cleanup usages/patching of awful.util.deprecate (#1966) 2017-08-10 12:18:54 +02:00
wibar.lua wibar: Fix with width and height beautiful properties (#1826) 2017-06-09 05:21:49 -04:00
wibox.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00