Re: Window History Placement
- From: Benjamin Kahn <xkahn ximian com>
- To: Matthias Clasen <maclas gmx de>
- Cc: wm-spec-list gnome org
- Subject: Re: Window History Placement
- Date: 10 Jan 2003 10:45:09 -0500
On Fri, 2003-01-10 at 10:27, Benjamin Kahn wrote:
> Hi Matthias,
>
> On Thu, 2003-01-09 at 18:23, Matthias Clasen wrote:
> > So this is the "WM saves" strategy, which has the advantage that the WM
> > controls what gets saved, but doesn't allow to keep history across WM
> > changes (unless we standardize file formats and locations...). This is
> > probably an acceptable price to pay for getting this to work reliably
> > for all applications.
>
> Yes. I thought about trying to standardize the file format and
> location when I started out, but decided against it for the moment. The
> file format I'm using is quite simple however, and could easily be moved
> to a common location. (Currently I'm storing it in
> .metacity/window-history)
The file format, as it stands now, is:
<metacity_history>
<window class="XTerm" name="xterm" title="/foo/bar" role="blah" type="normal" num="0" updated="1039026079">
<geometry x="100" y="100" width="200" height="200" gravity="NorthWestGravity"/>
<sticky/>
<maximized/>
</window>
<window save_id="Some String" updated="1039026093">
<fullscreen/>
</window>
:
</metacity_session>
Obviously, if this were to be cross-WM, the top level tag:
"metacity_history" should be "window_history" or simply "history". I
have very little opinion about /where/ the file should be stored.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]