Mercurial > audlegacy
diff src/audacious/ui_playlist.c @ 4117:a5779105e6d2
on ctrl-tab switch only between visible windows (Bugzilla #14)
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Tue, 25 Dec 2007 16:03:27 +0100 |
parents | b03055a1437a |
children | 51641a875a01 |
line wrap: on
line diff
--- a/src/audacious/ui_playlist.c Tue Dec 25 19:15:44 2007 +0900 +++ b/src/audacious/ui_playlist.c Tue Dec 25 16:03:27 2007 +0100 @@ -1268,8 +1268,12 @@ mainwin_minimize_cb(); break; case GDK_Tab: - if (event->state & GDK_CONTROL_MASK) - gtk_window_present(GTK_WINDOW(mainwin)); + if (event->state & GDK_CONTROL_MASK) { + if (cfg.player_visible) + gtk_window_present(GTK_WINDOW(mainwin)); + else if (cfg.equalizer_visible) + gtk_window_present(GTK_WINDOW(equalizerwin)); + } break; default: return FALSE;