summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-11-02 16:56:10 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-11-02 16:56:10 +0100
commit6455c47e6d7dc8ebeb92649b763a1cf6db67aa02 (patch)
treee9236603896f5bd9a7e827a6dff2d6d472373810
parente42eb2d8daf2e4cf8a0e79f43913060cd597bc57 (diff)
downloadcontrol-center-6455c47e6d7dc8ebeb92649b763a1cf6db67aa02.tar
control-center-6455c47e6d7dc8ebeb92649b763a1cf6db67aa02.tar.gz
control-center-6455c47e6d7dc8ebeb92649b763a1cf6db67aa02.tar.bz2
control-center-6455c47e6d7dc8ebeb92649b763a1cf6db67aa02.tar.xz
control-center-6455c47e6d7dc8ebeb92649b763a1cf6db67aa02.zip
fix using --geometry with a position
this is regression of the gtk+3 port
-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));