diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-02 20:40:12 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-02 20:40:12 +0100 |
commit | 15b972c511c307bf12e4c59c218b28b5585bcce1 (patch) | |
tree | db34589759cecbf041c552eece419ac324048e3e | |
parent | 9594683d934a21462640943eff59365596bde33f (diff) |
windows doesn't blink anymore after unhide from tray
-rw-r--r-- | plugins/gtkui/gtkui.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c index d68d558b..6df5b3c5 100644 --- a/plugins/gtkui/gtkui.c +++ b/plugins/gtkui/gtkui.c @@ -186,7 +186,6 @@ on_trayicon_activate (GtkWidget *widget, int y = deadbeef->conf_get_int ("mainwin.geometry.y", 40); int w = deadbeef->conf_get_int ("mainwin.geometry.w", 500); int h = deadbeef->conf_get_int ("mainwin.geometry.h", 300); - gtk_widget_show (mainwin); gtk_window_move (mainwin, x, y); gtk_window_resize (mainwin, w, h); if (deadbeef->conf_get_int ("mainwin.geometry.maximized", 0)) { @@ -209,7 +208,6 @@ on_trayicon_button_press_event (GtkWidget *widget, gtk_widget_hide (mainwin); } else { - gtk_widget_show (mainwin); int x = deadbeef->conf_get_int ("mainwin.geometry.x", 40); int y = deadbeef->conf_get_int ("mainwin.geometry.y", 40); int w = deadbeef->conf_get_int ("mainwin.geometry.w", 500); |