From 265ce1285a10e4da33853758197a5fb7b02778dd Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 29 Nov 2013 12:41:58 +0100 Subject: make shrinking window work again (eg: draknfs) --- perl-install/NEWS | 2 ++ perl-install/ugtk3.pm | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index ddd9cec1e..aadb2e923 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -2,6 +2,8 @@ o do not offer to switch to OSS o do not offer to switch to another driver if there's none o do not offer to pick a random driver when we've a default one +- ugtk3 layer: + o make shrinking window work again (eg: draknfs) Version 16.1 - 28 November 2013 diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm index 8f8fdcc21..445c50780 100644 --- a/perl-install/ugtk3.pm +++ b/perl-install/ugtk3.pm @@ -765,8 +765,7 @@ sub sync { sub flush() { gtkflush() } sub shrink_topwindow { my ($o) = @_; - warn "NOT IMPLEMENTED !!!!\n"; return; - $o->{real_window}->signal_emit('size_allocate', Gtk3::Gdk::Rectangle->new(-1, -1, -1, -1)); + $o->{real_window}->resize(1, 1); } sub exit { gtkset_mousecursor_normal(); #- for restoring a normal in any case -- cgit v1.2.1