awesome/lib/awful
Uli Schlachter b833ae75eb awful.client.setwfact: Handle invisible clients (FS#693)
setwfact() calls idx() on the client that it works on. When idx() is called with
a client that isn't visible, it fails while trying to find outs the client's
index in the current layout.

  event_handle_mousegrabber:119: error running function:
    lib/awful/client.lua:688: attempt to compare nil with number

Fix this by ignoring all clients that aren't visible in setwfact().

Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-12-11 14:20:42 +01:00
..
layout Use signal emitions on classes 2010-08-26 18:31:06 +02:00
mouse lua{class,object}: rename signals functions 2010-08-25 20:28:20 +02:00
widget Add awful.widget.tasklist.filter.minimizedcurrenttags 2010-10-17 15:45:56 +02:00
autofocus.lua.in Use signal emitions on classes 2010-08-26 18:31:06 +02:00
button.lua.in lua{class,object}: rename signals functions 2010-08-25 20:28:20 +02:00
client.lua.in awful.client.setwfact: Handle invisible clients (FS#693) 2010-12-11 14:20:42 +01:00
completion.lua.in awful.completion: callback functions return table of matches 2010-10-11 15:22:44 +02:00
dbus.lua.in awful.dbus: enhance description 2009-08-28 15:33:18 +02:00
ewmh.lua.in Convert some more code to "class signals" 2010-08-26 18:42:38 +02:00
init.lua.in client: implements maximized and fullscreen requests with Lua 2010-05-28 13:29:29 +02:00
key.lua.in lua{class,object}: rename signals functions 2010-08-25 20:28:20 +02:00
menu.lua.in Awful.menu: Fix the text 2010-10-07 14:24:16 +02:00
placement.lua.in awful.placement.no_overlap: Ignore desktop clients 2010-09-03 17:43:36 +02:00
prompt.lua.in awful.prompt: add ctrl-backspace 2010-10-21 09:05:40 +02:00
remote.lua.in lua{class,object}: rename signals functions 2010-08-25 20:28:20 +02:00
rules.lua.in Add match_any function and rule_any definition for different client matching. 2010-09-14 16:51:40 +02:00
screen.lua.in Add signals before using them 2010-08-25 23:00:36 +02:00
startup_notification.lua.in lua{class,object}: rename signals functions 2010-08-25 20:28:20 +02:00
tag.lua.in awful.tag: do not update history when identical tags 2010-10-20 17:30:57 +02:00
tooltip.lua.in awful.tooltip: Fix for new widget layouts 2010-10-07 11:11:48 +02:00
util.lua.in Remove last known usage of deprecated in Lua 5.1 `arg` 2010-10-12 18:38:04 +02:00
wibox.lua.in awful.wibox: Port to new widget system 2010-10-06 14:20:30 +02:00