awesome/lib/awful
Uli Schlachter 254e50d88c Partly revert commit 90fde1393f
That commit made awful.tag use timer.delayed_call() to call withcurrent() during
the manage signal. The idea was "if nothing else assigns any tags until the end,
apply some default ones".

However, the C core refuses to set the input focus to an unviewable client and
thus this means that setting the input focus during manage failed. So, instead
of using the delayed_call(), just call withcurrent() directly, like we did
before.

However, some part of that commit is still left: Awful.rules no longer
disconnects the withcurrent() callback from the "manage" signal. This was
originally added in commit 5e7ddd1efa, because it clients flickered otherwise if
they were moved to some unselected tag during "manage". This happened because
the C code unbanned the client when it got assigned the input focus and only
later did some other code move it to some unselected tag.

However, this flickering will no longer occur, because commit 3dbf89c990 added
lazy focus setting. Thanks to this, setting the focus no longer unbans a client
as a side-effect. Thus, if you focus a client and then remove it from all
selected tags, nothing will be visible on-screen.

To make a long story short: This commit reverts the part of commit 90fde1393f
which caused side effects. The part that wasn't necessary any more is left in.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-01-23 20:51:35 +01:00
..
client awful.client.shape: Import client shape handling (FS#1051) 2014-04-14 10:04:56 +02:00
layout Layouts can define their own resizing handler (FS#1267) 2014-10-23 01:30:19 +02:00
mouse awful.mouse.finder: Remove rounded_corners call 2015-01-10 20:28:26 +01:00
widget Merge branch 'simplify-calc_timeout' of git://github.com/blueyed/awesome 2015-01-10 01:22:47 +01:00
autofocus.lua.in Minor doc fixes 2014-03-15 08:52:14 +01:00
button.lua.in Ported awful to lua 5.2 2012-06-16 17:37:30 +02:00
client.lua.in ldoc: fix usage of @usage, which is <code> automatically 2014-08-28 19:45:46 +02:00
completion.lua.in Ported awful to lua 5.2 2012-06-16 17:37:30 +02:00
dbus.lua.in Ported awful to lua 5.2 2012-06-16 17:37:30 +02:00
ewmh.lua.in ewmh.activate: focus and especially raise clients during startup 2014-11-06 21:26:32 +01:00
init.lua.in timer: Add a backwards-compatibility hack to awful 2014-12-07 09:44:58 +01:00
key.lua.in Lots of random documentation fixes 2012-11-19 14:09:10 +01:00
keygrabber.lua.in minor: doc fixes for keygrabber.lua 2015-01-21 08:33:03 +01:00
menu.lua.in Merge branch 'patch-1' of git://github.com/findkiko/awesome 2015-01-10 12:56:46 +01:00
placement.lua.in awful.placement.no_offscreen: Fix border handling (FS#1065) 2012-12-16 18:11:57 +01:00
prompt.lua.in ldoc: fix usage of @usage, which is <code> automatically 2014-08-28 19:45:46 +02:00
remote.lua.in More fixes for the recent module() removal 2012-06-17 15:24:01 +02:00
rules.lua.in awful.tag: Use delayed_call to call withcurrent on manage 2015-01-11 11:19:04 +01:00
screen.lua.in Fix some random ldoc warnings 2014-04-13 18:06:49 +02:00
startup_notification.lua.in Ported awful to lua 5.2 2012-06-16 17:37:30 +02:00
tag.lua.in Partly revert commit 90fde1393f 2015-01-23 20:51:35 +01:00
titlebar.lua.in Add awful.titlebar.widget.minimizebutton 2013-11-03 09:47:11 +01:00
tooltip.lua.in timer: Move from C to lua as gears.timer 2014-12-06 16:44:04 +01:00
util.lua.in awful.util.geticonpath: Correctly localize variables 2014-05-03 11:15:14 +02:00
wibox.lua.in Fix some random ldoc warnings 2014-04-13 18:06:49 +02:00