Bo Peng wrote:
> Also, if -geometry is going to override everything, can not we do
> 
> if (geometry option present) {
>   width = -1;
>  height = -1;
>   start(... width, height, isMaximized)
> }
> 
> Bo
> 
> 

I also thought about this, and I also preferred it first
because then I don't have to pass an additional parameter.

But because it is a solution which uses "magic numbers"
I've switched to a more readable implementation.

When I pass (-1,-1) I have add some comments in the code,
but using "if(!geoemtryOption)" then the code is its own
documentation.

But when you prefer the (-1,-1) solution I'll change it.

Peter

Reply via email to