awesome/lib/awful
Uli Schlachter 95403b9544 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:23:31 +01:00
..
layout awful.layout: emit arrange signal 2009-11-06 12:39:48 +01:00
mouse awful.mouse: load finder 2009-09-11 13:43:02 +02:00
widget Tasklist: Fail less badly with invalid utf8 2010-10-07 18:42:05 +02:00
autofocus.lua.in awful.autofocus: improve client focus with multiple screens 2010-01-10 10:31:17 +01:00
button.lua.in awful.{button,key}: enhance documentation 2009-08-28 15:26:41 +02:00
client.lua.in awful.client.setwfact: Handle invisible clients (FS#693) 2010-12-11 14:23:31 +01:00
completion.lua.in awful.completion: callback functions return table of matches 2010-10-11 15:23:06 +02:00
dbus.lua.in awful.dbus: enhance description 2009-08-28 15:33:18 +02:00
hooks.lua.in awful.hooks: deprecate in description 2009-08-28 15:34:03 +02:00
init.lua.in awful: add tooltip module 2009-09-09 20:27:47 +02:00
key.lua.in awful.{button,key}: enhance documentation 2009-08-28 15:26:41 +02:00
menu.lua.in awful.menu.clients: Raise the newly focused client 2010-05-03 11:03:47 +02:00
placement.lua.in awful.placement.no_overlap: Ignore desktop clients 2010-09-03 17:47:12 +02:00
prompt.lua.in awful.prompt: add ctrl-backspace 2010-10-21 09:05:55 +02:00
remote.lua.in awful.remote: enhance description 2009-08-28 15:36:34 +02:00
rules.lua.in Add match_any function and rule_any definition for different client matching. 2010-09-14 16:51:59 +02:00
screen.lua.in awful.screen: fix padding 2009-10-09 20:05:42 +02:00
startup_notification.lua.in spawn: move sn hooks to signals 2009-08-17 17:47:55 +02:00
tag.lua.in awful.tag: do not update history when identical tags 2010-10-20 17:30:48 +02:00
titlebar.lua.in awful.titlebar: Stop using arg 2010-10-12 18:37:54 +02:00
tooltip.lua.in tooltip: force place() if tooltip is not visible 2009-12-03 14:22:21 +01:00
util.lua.in Remove last known usage of deprecated in Lua 5.1 `arg` 2010-10-12 18:37:54 +02:00
wibox.lua.in awful.wibox: update struts on align() 2010-03-23 11:06:37 +01:00