summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-01-27 12:33:01 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-01-27 12:33:01 +0000
commite5965a71d74d192156ec54e42926dddacd5dc8af (patch)
tree73d7d473609e8dfaa92b8fb9f91229755281c6c0
parent7928ffb8445d04b5ba71edba1229bf03d091e32d (diff)
downloaddrakx-e5965a71d74d192156ec54e42926dddacd5dc8af.tar
drakx-e5965a71d74d192156ec54e42926dddacd5dc8af.tar.gz
drakx-e5965a71d74d192156ec54e42926dddacd5dc8af.tar.bz2
drakx-e5965a71d74d192156ec54e42926dddacd5dc8af.tar.xz
drakx-e5965a71d74d192156ec54e42926dddacd5dc8af.zip
fix missing pointer_ungrab so that after testing mouse during
install we can move the mouse pointer everywhere
-rw-r--r--perl-install/mouse.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index 0be74b451..e9f3df1c5 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -421,7 +421,9 @@ sub test_mouse_install {
test_mouse($mouse, $w, $darea, $width, $height, $x_protocol_changed);
$w->sync; # HACK
Gtk2::Gdk->pointer_grab($vbox_grab->window, 1, 'pointer_motion_mask', $vbox_grab->window, undef, 0);
- $w->main;
+ my $r = $w->main;
+ Gtk2::Gdk->pointer_ungrab(0);
+ $r;
}
sub test_mouse_standalone {