THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#885 - new signal post_arrange
User who did this - Uli Schlachter (psychon)
Reason for closing: Not a bug
Additional comments about closing: The arrange signal is emitted after the
layout is run, not before (= does exactly what you want it to do). The problem
you are hitting is that awesome does lazy (un)banning to avoid some flicker. So
awesome's internal state was already changed to the new layout, but the X11
server wasn't told about any of this yet (We do ask the X11 server for
client_under_pointer()).
Ugly workaround: Use a timer!
local t = timer({timeout = 0})
t:add_signal("timeout", function() t:stop() local c =
awful.mouse.client_under_pointer() print(c) end)
t:start()
This would make sure that your code runs after the tag switch is handled
completely (= in the next main loop iteration, in this case).
More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=885
You are receiving this message because you have requested it from the Flyspray
bugtracking system. If you did not expect this message or don't want to
receive mails in future, you can change your notification settings at the URL
shown above.
--
To unsubscribe, send mail to [email protected].