changeset 4133:d34e16f45a29

dock_move_press already presents window
author Tomasz Mon <desowin@gmail.com>
date Sun, 30 Dec 2007 20:41:23 +0100
parents bfb987da66f0
children 3f1f84330007
files src/audacious/ui_equalizer.c src/audacious/ui_main.c src/audacious/ui_playlist.c
diffstat 3 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_equalizer.c	Sun Dec 30 20:20:15 2007 +0100
+++ b/src/audacious/ui_equalizer.c	Sun Dec 30 20:41:23 2007 +0100
@@ -178,13 +178,6 @@
     equalizerwin_set_shade(!cfg.equalizer_shaded);
 }
 
-static void
-equalizerwin_raise(void)
-{
-    if (cfg.equalizer_visible)
-        gtk_window_present(GTK_WINDOW(equalizerwin));
-}
-
 void
 equalizerwin_eq_changed(void)
 {
@@ -232,7 +225,6 @@
 {
     if (event->button == 1 && event->type == GDK_BUTTON_PRESS &&
         (cfg.easy_move || cfg.equalizer_shaded || event->y < 14)) {
-         equalizerwin_raise();
          dock_move_press(dock_window_list, GTK_WINDOW(equalizerwin), event,
                          FALSE);
     }
--- a/src/audacious/ui_main.c	Sun Dec 30 20:20:15 2007 +0100
+++ b/src/audacious/ui_main.c	Sun Dec 30 20:41:23 2007 +0100
@@ -863,7 +863,6 @@
 
     if (event->button == 1 && event->type == GDK_BUTTON_PRESS &&
         (cfg.easy_move || event->y < 14)) {
-        gtk_window_present(GTK_WINDOW(mainwin));
         dock_move_press(dock_window_list, GTK_WINDOW(mainwin), event,
                         TRUE);
     }
--- a/src/audacious/ui_playlist.c	Sun Dec 30 20:20:15 2007 +0100
+++ b/src/audacious/ui_playlist.c	Sun Dec 30 20:41:23 2007 +0100
@@ -1055,7 +1055,6 @@
     {
         dock_move_press(dock_window_list, GTK_WINDOW(playlistwin), event,
                         FALSE);
-        gtk_window_present(GTK_WINDOW(playlistwin));
     }
     else if (event->button == 1 && event->type == GDK_2BUTTON_PRESS
              && event->y < 14) {