On Sat, Feb 13, 2010 at 11:08:54AM +1000, Adam Nielsen wrote:
> [...]
> Since Awesome has some facilities to
> prevent windows from being created off-screen, is there any way you
> can force a window with a zero dimension to be a set size?
> [...]

Sure. Add something like this to your manage signal handler:

    local g = c:geometry()
    if g.width <= 0 or g.height <= 0 then
        c:geometry({ width = 100, height = 100 }) -- replace with
                                                  -- whatever you want
    end

-- 
GCS/IT/M d- s+:- a-- C++ UL+++ US UB++ P+++ L+++ E--- W+ N+ o--
K- w--- ?O M-- ?V PS++ PE- Y++ PGP+++ t+ 5 X+ R tv b+++ DI+++
D+++ G+ e h! r y+

    Gregor Best

Attachment: pgpA3JsHPQAF5.pgp
Description: PGP signature

Reply via email to