So with today's rebase of next naughty has been giving me error
messages each time a wibox gets deleted:
error running function: /usr/share/awesome/lib/awful/wibox.lua:33: bad
argument #2 to '?' (number expected, got nil)

I tracked it down to this:
http://git.naquadah.org/?p=awesome.git;a=commitdiff;h=ef33de3fdc4a6fc2af9b730938a1bce69923d9a4

And in particular:
+    elseif objtype == "wibox" then
+        if prop == "screen" then
+            on_arrange(obj.screen)

If the wibox has been unattached, it does not have a screen anymore so
obj.screen will be nil and on_arrange will fail with the above
message.
Seems like a similar thing to:

    elseif prop == "screen" then
        -- If prop is screen, we do not know what was the previous screen, so
        -- let's arrange all screens :-(
        for screen = 1, capi.screen.count() do
            on_arrange(screen)
        end

Arranging all screens sucks.

k

-- 
To unsubscribe, send mail to [email protected].

Reply via email to