summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index d14ca92f..dd742647 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -158,8 +158,7 @@ $eventbox->signal_connect(button_press_event => sub {
if (-e $conffile) { $raisedwindow = 1; showMainWindow() } else { $raisedwindow = 0; configure() }
}
} elsif ($_[1]->button == 1) {
- $applet_window->hide;
- $applet_window->show;
+ $applet_window->present;
}
$_[1]->button == 3 && $menu and $menu->popup(undef, undef, undef, undef, $_[1]->button, $_[1]->time);
});