Contents of /trunk/beep-media-player/patches/beep-media-player-0.9.7-window-focus.patch
Parent Directory | Revision Log
Revision 144 -
(show annotations)
(download)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 851 byte(s)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 851 byte(s)
-import
1 | diff -Naur beep/main.c ../bmp-0.9.7_patched/beep/main.c |
2 | --- beep/main.c 2004-12-04 09:04:24.000000000 +0000 |
3 | +++ ../bmp-0.9.7_patched/beep/main.c 2005-03-01 17:49:00.919611984 +0000 |
4 | @@ -1008,15 +1008,19 @@ |
5 | * interface to set menu items */ |
6 | create_prefs_window(); |
7 | |
8 | + /* Order of windows shown modified by |
9 | + * Dale Whittaker to fix problem |
10 | + * with playlist and equalizer focus*/ |
11 | + if (cfg.player_visible) |
12 | + mainwin_show(TRUE); |
13 | + |
14 | if (cfg.equalizer_visible) |
15 | equalizerwin_show(TRUE); |
16 | |
17 | if (cfg.playlist_visible) |
18 | playlistwin_show(); |
19 | |
20 | - if (cfg.player_visible) |
21 | - mainwin_show(TRUE); |
22 | - else if (!cfg.playlist_visible && !cfg.equalizer_visible) |
23 | + else if (!cfg.player_visible && !cfg.playlist_visible && !cfg.equalizer_visible) |
24 | mainwin_show(TRUE); |
25 | |
26 | /* FIXME: move this away */ |
27 |