[mythtv] Re: [BUG] mythfrontend does not detect the screen properly

Pekka Jääskeläinen pekka.jaaskelainen at gmail.com
Fri Apr 1 20:28:15 UTC 2005


> > Sorry, I was too hasty. This switch does work, and thus allows me to
> > circumvent this
> > bug. The real switch is --geometry, not -geometry like --help states :)
> 
> Looks like both should work:
> 
>         else if (!strcmp(a.argv()[argpos],"-geometry") ||
>                  !strcmp(a.argv()[argpos],"--geometry"))


Nope.

~$ mythfrontend -geometry 1024x768+0+0
...
2005-04-01 23:24:29.797 Using screen 0, 1280x1024 at 0,0
...
~$ mythfrontend --geometry 1024x768+0+0
2005-04-01 23:24:53.668 Overriding GUI, width=1024, height=768 at 0,0
...

My guess is that some code that parses the command line arguments
strips the first leading '-' before entering that check. Only an
amateur guess.

-- 
--PJ


More information about the mythtv-dev mailing list