Mercurial > audlegacy
comparison src/audacious/ui_main.c @ 2646:db74f7ecf22d trunk
[svn] - fix doublesize motion events. patch by gagern, closes #856.
author | nenolod |
---|---|
date | Sat, 31 Mar 2007 19:33:04 -0700 |
parents | ddd127429fc6 |
children | 4d5e6a8717dd |
comparison
equal
deleted
inserted
replaced
2645:ee5854651a96 | 2646:db74f7ecf22d |
---|---|
1039 } | 1039 } |
1040 if (cfg.doublesize) { | 1040 if (cfg.doublesize) { |
1041 event->x /= 2; | 1041 event->x /= 2; |
1042 event->y /= 2; | 1042 event->y /= 2; |
1043 } | 1043 } |
1044 else { | 1044 |
1045 handle_motion_cb(mainwin_wlist, widget, event); | 1045 handle_motion_cb(mainwin_wlist, widget, event); |
1046 draw_main_window(FALSE); | 1046 draw_main_window(FALSE); |
1047 } | |
1048 | 1047 |
1049 gdk_flush(); | 1048 gdk_flush(); |
1050 | 1049 |
1051 return FALSE; | 1050 return FALSE; |
1052 } | 1051 } |