[for enrico] Question: do we still need that?

Jean-Marc Lasgouttes lasgouttes at lyx.org
Thu Aug 29 09:34:57 UTC 2024


Le 28/08/2024 à 20:51, Enrico Forestieri a écrit :
> I am not sure I understand your concern. That makes the -geometry option 
> work also on Windows. Maybe those lines can be transferred in the 
> following guard, i.e.,

I propose a more radical approach, which is to change -geometry to 
-windowgeometry on all platforms. This means that -geometry is now 
supported everywhere.

What I did not do is remove the hand-made parsing of geometry that is 
used for window-new lfun only on Windows (why?). Can this go away?

The second patch gets rid of QPA_XCB and replaces it with a runtime 
decision depending on current platform. In theory, this would allow for 
cocoa/xcb or win32/xcb binaries (like we have xcb/wayland binaries), 
with some extra work of course.

Thoughts?

JMarc

PS: the cmake part of second patch is missing, but it is 
straightforward: get rid of QPA_XCB and define HAVE_XCB_XCB_H HAVE_LIXCB 
if they are available.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Streamline-geometry-argument-support.patch
Type: text/x-patch
Size: 3035 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240829/2a763b4d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Get-rid-of-QPA_XCB.patch
Type: text/x-patch
Size: 4965 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240829/2a763b4d/attachment-0001.bin>


More information about the lyx-devel mailing list