Author: tom
Date: Fri Oct 24 07:58:54 2008
New Revision: 3211
URL: http://svn.slimdevices.com?rev=3211&root=Jive&view=rev
Log:
drag works during mouse hold state
Modified:
7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c
Modified: 7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c
URL:
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c?rev=3211&root=Jive&r1=3210&r2=3211&view=diff
==============================================================================
--- 7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c (original)
+++ 7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_framework.c Fri Oct 24
07:58:54 2008
@@ -1060,7 +1060,7 @@
case SDL_MOUSEMOTION:
if (event->motion.state & SDL_BUTTON(1)) {
- if ( (mouse_state == MOUSE_STATE_DOWN
+ if ( ( (mouse_state == MOUSE_STATE_DOWN || mouse_state
== MOUSE_STATE_SENT)
&& (abs(mouse_origin_x - event->motion.x) > 10
|| abs(mouse_origin_y - event->motion.y) >
10))
|| mouse_state == MOUSE_STATE_DRAG) {
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins