comparison 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
comparison
equal deleted inserted replaced
4116:5853d43e539a 4117:a5779105e6d2
1266 1266
1267 case GDK_Escape: 1267 case GDK_Escape:
1268 mainwin_minimize_cb(); 1268 mainwin_minimize_cb();
1269 break; 1269 break;
1270 case GDK_Tab: 1270 case GDK_Tab:
1271 if (event->state & GDK_CONTROL_MASK) 1271 if (event->state & GDK_CONTROL_MASK) {
1272 gtk_window_present(GTK_WINDOW(mainwin)); 1272 if (cfg.player_visible)
1273 gtk_window_present(GTK_WINDOW(mainwin));
1274 else if (cfg.equalizer_visible)
1275 gtk_window_present(GTK_WINDOW(equalizerwin));
1276 }
1273 break; 1277 break;
1274 default: 1278 default:
1275 return FALSE; 1279 return FALSE;
1276 } 1280 }
1277 1281