Clients get misplaced by beautiful.border_width every time i restart awesome.
Adding the below else clause to client.connect_signal seems to solve
it, but is ugly and makes restarts slow, can this be fixed properly
(in core or something)?


    if not startup then
        -- Set the windows at the slave,
        -- i.e. put it at the end of others instead of setting it master.
        --        awful.client.setslave(c)

        -- Put windows in a smart way
        awful.placement.no_overlap(c)
        awful.placement.no_offscreen(c)
    else
            local g = c:geometry()
            g.x = g.x - beautiful.border_width
            g.y = g.y - beautiful.border_width
            c:geometry(g)
    end

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Reply via email to