summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/mygtk2.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index ceac99e20..67efba6c8 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- fix strange focus bugs
+
Version 11.3 - 4 August 2008
- drakedm:
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index b7490b41d..d56042139 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -614,8 +614,8 @@ sub _gtk_any_Window {
$w->set_type_hint('dialog'); # for matchbox window manager
}
- $w->set_modal(1) if exists $opts->{transient_for};
$w->set_modal(delete $opts->{modal}) if exists $opts->{modal};
+ $w->set_modal(1) if exists $opts->{transient_for};
$w->set_transient_for(delete $opts->{transient_for}) if exists $opts->{transient_for};
$w->set_border_width(delete $opts->{border_width}) if exists $opts->{border_width};
$w->set_shadow_type(delete $opts->{shadow_type}) if exists $opts->{shadow_type};