summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-12 17:54:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-12 17:54:39 +0000
commite74bf2eb1500093e14f7900c5ed8c8bfd9936d66 (patch)
treeedf48f07a8c0861a4fb7f50c1de7ba41f863515a /perl-install
parentb6baa871fcfbd68a4255ce83c02372d499c88abe (diff)
downloaddrakx-e74bf2eb1500093e14f7900c5ed8c8bfd9936d66.tar
drakx-e74bf2eb1500093e14f7900c5ed8c8bfd9936d66.tar.gz
drakx-e74bf2eb1500093e14f7900c5ed8c8bfd9936d66.tar.bz2
drakx-e74bf2eb1500093e14f7900c5ed8c8bfd9936d66.tar.xz
drakx-e74bf2eb1500093e14f7900c5ed8c8bfd9936d66.zip
(main): only accept X (gdk) events key_press, key_release and exposure (so
that not to receive motion_notify which would generate focus_out in non-interesting cases)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/my_gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 2e1693304..ba05164fd 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -114,6 +114,7 @@ sub main {
my $timeout = Gtk->timeout_add(1000, sub { gtkset_mousecursor_normal(); 1 });
my $b = before_leaving { Gtk->timeout_remove($timeout) };
$o->show;
+ $o->{rwindow}->window->set_events(['key_press_mask', 'key_release_mask', 'exposure_mask']);
do {
local $::setstep = 1;