Do not error out if -geometry is used with QPA_XCB defined.

This commit is contained in:
Richard Kimberly Heck 2024-02-09 20:33:18 -05:00
parent 3fefd64eae
commit 88e739b44b

View File

@ -1365,9 +1365,14 @@ int parse_import(string const & type, string const & file, string & batch)
int parse_geometry(string const & arg1, string const &, string &)
{
geometryArg = arg1;
#if !defined(QPA_XCB)
// don't remove "-geometry", it will be pruned out later in the
// frontend if need be.
return -1;
#else
// but that is only done if QPA_XCB is not defined.
return 0;
#endif
}