ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] new fdump structure may affect scripts


From: Trent Buck
Subject: Re: [RP] new fdump structure may affect scripts
Date: Tue Nov 23 20:22:47 2004

Quoth Kevin Geiss on or about 2004-11-23:
> so for a concrete example, say I had this silly, contrived ratpoison 
> frame set up:
> 
> 0 0 0 1152 788 10485774 30,1 0 788 1152 76 14680069 14,
> 
> under the new scheme it would be like this?
> 
> (frame :number 0 :x 0 :y 0 :width 1152 :height 788 :window 10485774 
> :last-access 30)
> (frame :number 1 :x 0 :y 788 :width 1152 :height 76 :window 14680069 
> :last-access 14)

IIUC, yes.  Note that the order isn't (should not be) guaranteed -- you
must get the value by finding the keyword argument.  Scripts should also
be able to recover if some or all of the frames DON'T have a particular
keyword argument (e.g. might not have a :window).

Incidentally, IMO `make-frame' would be more descriptive than `frame'.

-trent



reply via email to

[Prev in Thread] Current Thread [Next in Thread]