From 8717fe5730f4a6731b503468c0d1f1d6f9702849 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 12 Feb 2019 01:26:14 +0100 Subject: [PATCH] Window position may be negative. --- profiler/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 7861c206..370fcc4c 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -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;