summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-09-10 12:25:41 +0000
committerdamien <damien@mandriva.com>2001-09-10 12:25:41 +0000
commit916ef1b7d9a70a9f5e9a3a8483e47ddf71623a68 (patch)
tree1804c719b78ca306ec3f60819fb769143f8ba9b7
parentc265d15923c2adc649974564e04cf22362cc6c66 (diff)
downloaddrakx-backup-do-not-use-916ef1b7d9a70a9f5e9a3a8483e47ddf71623a68.tar
drakx-backup-do-not-use-916ef1b7d9a70a9f5e9a3a8483e47ddf71623a68.tar.gz
drakx-backup-do-not-use-916ef1b7d9a70a9f5e9a3a8483e47ddf71623a68.tar.bz2
drakx-backup-do-not-use-916ef1b7d9a70a9f5e9a3a8483e47ddf71623a68.tar.xz
drakx-backup-do-not-use-916ef1b7d9a70a9f5e9a3a8483e47ddf71623a68.zip
no set_events if embedded
-rw-r--r--perl-install/my_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 64781733a..0297edb40 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -115,7 +115,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']);
+ $o->{rwindow}->window->set_events(['key_press_mask', 'key_release_mask', 'exposure_mask']) if !$::isEmbedded;
do {
local $::setstep = 1;