summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xcontrol-center2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index da172265..bd2ef851 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix using --geometry with a position
+
Version 13.9 - 2 November 2016, by Thierry Vignaud
- fix centering wait message + blinking icon while loading a tool
diff --git a/control-center b/control-center
index 4b42e6e6..b3a33c7f 100755
--- a/control-center
+++ b/control-center
@@ -599,7 +599,7 @@ mygtk3::register_main_window($window_global);
if ($geometry) {
@h{qw(HEIGTH WIDTH)} = $geometry =~ /(\d+)x(\d+)/;
my ($x, $y) = $geometry =~ /([+-]\d+)([+-]\d+)/;
- $window_global->set_uposition($x, $y) if $x || $y;
+ $window_global->move($x, $y) if $x || $y;
} else {
}
$window_global->resize(max($default_width, $h{WIDTH}, $min_width), max($h{HEIGTH}, $default_height, $min_height));