Hi,
I've attached two patches to use the -geometry parameter
instead of the four -xpos, -ypos, -width and -height.
For that the files src/lyx_gui.C and src/lyx_main.C need
to be patched.
The "-geometry WIDTHxHEIGTH+XOFF+YOFF" is defined in the
X Window System (a 'man X' will give info on this).
--------------------------
A code detail about the static declaration of width, height
xpos and ypos in src/lyx_gui.C:
For the moment I can't see whether these variables
can be left where they are, or rather be moved to a
more restricted scope of the code (since now the
char[] geometry has the "file-scope" of all the window-size
parameters).
Leaving them where they are, works fine and so that's what
I've done in the patch.
Regards,
Rob.
lyx_main.C.patch.gz
lyx_gui.C.patch.gz