From 7ddb042efd511f14bca865e0cca684367d7d6344 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 20 Jan 2014 01:34:46 +0100 Subject: fix not moving window (mga#11790, mga#11988, mga#11977) regression introduced in commit fadc8b97ed98977bf264d87d62c33e779f299716 sadly flickering may happen --- perl-install/install/NEWS | 1 + perl-install/mygtk3.pm | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index f99e6d6bc..6f7ffda26 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -2,6 +2,7 @@ thus fixing "basesystem package not selected" - partitioning: o fix sizing partition widgets + o fix not moving window (mga#11790, mga#11988, mga#11977) Version 16.25 - 19 January 2014 diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm index ff27ecbe1..c9e987a1d 100644 --- a/perl-install/mygtk3.pm +++ b/perl-install/mygtk3.pm @@ -1336,9 +1336,9 @@ sub _create_Window { my @w_size = @$event{qw(width height)}; # ignore bogus sizing events: - return if $w_size[2] < 5; - return if $w_size[2] == $wi && $w_size[3] == $he; - (undef, undef, $wi, $he) = @w_size; + return if $w_size[0] < 5; + return if $w_size[0] == $wi && $w_size[1] == $he; + ($wi, $he) = @w_size; $w->move(max(0, $::rootwidth - ($::o->{windowwidth} + $wi) / 2), max(0, ($::o->{windowheight} - $he) / 2)); -- cgit v1.2.1