diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-04-12 17:54:39 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-04-12 17:54:39 +0000 |
commit | e74bf2eb1500093e14f7900c5ed8c8bfd9936d66 (patch) | |
tree | edf48f07a8c0861a4fb7f50c1de7ba41f863515a | |
parent | b6baa871fcfbd68a4255ce83c02372d499c88abe (diff) | |
download | drakx-backup-do-not-use-e74bf2eb1500093e14f7900c5ed8c8bfd9936d66.tar drakx-backup-do-not-use-e74bf2eb1500093e14f7900c5ed8c8bfd9936d66.tar.gz drakx-backup-do-not-use-e74bf2eb1500093e14f7900c5ed8c8bfd9936d66.tar.bz2 drakx-backup-do-not-use-e74bf2eb1500093e14f7900c5ed8c8bfd9936d66.tar.xz drakx-backup-do-not-use-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)
-rw-r--r-- | perl-install/my_gtk.pm | 1 |
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; |