Mercurial > audlegacy
changeset 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 | afc8f8c21e75 |
children | aeb8b690c92b |
files | src/audacious/ui_main.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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++;