Mercurial > audlegacy
diff src/audacious/ui_main.c @ 2959:af954739cc89 trunk
remove mainwin_svis clickability when not shaded
| author | Tomasz Mon <desowin@gmail.com> |
|---|---|
| date | Sun, 01 Jul 2007 19:11:35 +0200 |
| parents | 7a88f6d9cd92 |
| children | 7926d46872c8 |
line wrap: on
line diff
--- a/src/audacious/ui_main.c Sun Jul 01 18:58:09 2007 +0200 +++ b/src/audacious/ui_main.c Sun Jul 01 19:11:35 2007 +0200 @@ -1120,8 +1120,8 @@ } if ((event->button == 1) && event->type != GDK_2BUTTON_PRESS && - (widget_contains(WIDGET(mainwin_vis), event->x, event->y) || - widget_contains(WIDGET(mainwin_svis), event->x, event->y))) { + !cfg.player_shaded ? widget_contains(WIDGET(mainwin_vis), event->x, event->y) : + widget_contains(WIDGET(mainwin_svis), event->x, event->y) ) { cfg.vis_type++;
