[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gEDA, awesome wm and dual monitor



On Tue, 2009-11-17 at 12:59 +0000, Peter Clifton wrote:

> It is almost _always_ the window manager's fault for that kind of
> behaviour. X11 programs don't specify where dialogs should open, only
> hints as to their purpose.

And I'm telling lies..

The _main_ window doesn't specify its position. That would be a real
contravention of X11 convention.

We _do_ (admittedly I was reluctant to add the code), save and restore
dialog position.

(See gschem/src/gschem_dialog.c)

The positions are saved in ~/.gEDA/gschem-dialog-geometry

It is "probably" within the WM's rights to completely ignore our
requests though.

Some dialogs in gschem might not go via this subclass though - so
positioning rules revert to whatever the default GTK / WM behaviour is.



I believe PCB has a similar mechanism for restoring dialog geometry.





_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user