From 4998a6d4c66c42d8522ddaf36cda5ccb9dd964e9 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sat, 18 Apr 2015 16:37:47 +0000 Subject: do not "restore" mouse cursor on the root window, we haven't set it to 'wait' since 2005 and this causes a crash if we don't own it (mga#15729) --- perl-install/standalone/harddrake2 | 3 --- 1 file changed, 3 deletions(-) (limited to 'perl-install/standalone/harddrake2') diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2 index b40663209..95353fd03 100755 --- a/perl-install/standalone/harddrake2 +++ b/perl-install/standalone/harddrake2 @@ -249,7 +249,6 @@ $w->{window}->add(gtkpack_(0, Gtk3::VBox->new(0, 0), local $SIG{CHLD} = undef; require modules::interactive; modules::interactive::config_window($in, $current_device); - gtkset_mousecursor_normal(); }), 0, my $config_button = gtksignal_connect(Gtk3::Button->new(N("Run config tool")), # we've a configurator, let's add a button for it and show it @@ -499,7 +498,6 @@ $tree->signal_connect(realize => sub { $tree->get_selection->select_path(Gtk3::T my @packages2install = uniq($in->do_pkgs->are_available(@packages)); undef $wait; - gtkset_mousecursor_normal(); if (@packages2install && $in->ask_yesorno(N("Warning"), N("The following packages need to be installed:\n") . join(', ', @packages2install))) { $in->do_pkgs->install(@packages2install); @@ -508,7 +506,6 @@ $tree->signal_connect(realize => sub { $tree->get_selection->select_path(Gtk3::T } $SIG{CHLD} = \&reap_children; undef $wait; -gtkset_mousecursor_normal(); # fill in default right text since no device is selected on startup: fill_default_text($text); -- cgit v1.2.1