Window position may be negative.

This commit is contained in:
Bartosz Taudul 2019-02-12 01:26:14 +01:00
parent e254f049a5
commit 8717fe5730

View File

@ -108,7 +108,7 @@ int main( int argc, char** argv )
h = data[3];
maximize = data[4];
}
if( w <= 0 || h <= 0 || x+w < 0 || y+h < 0 )
if( w <= 0 || h <= 0 )
{
x = 200;
y = 200;