[Mplayer-cvslog] CVS: main/Gui/wm wsxdnd.c,1.4,1.5

Zoltan Ponekker pontscho at mplayerhq.hu
Mon Dec 16 21:16:16 CET 2002


Update of /cvsroot/mplayer/main/Gui/wm
In directory mail:/var/tmp.root/cvs-serv31670

Modified Files:
	wsxdnd.c 
Log Message:
applied Gregory's patch

Index: wsxdnd.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/wm/wsxdnd.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- wsxdnd.c	27 Aug 2002 08:33:04 -0000	1.4
+++ wsxdnd.c	16 Dec 2002 20:16:12 -0000	1.5
@@ -163,7 +163,7 @@
       unsigned long ret_items;
 
       /* while there is data left...*/
-      while(ret_left){
+      while(ret_left && atom_support == None){
 	XGetWindowProperty(wsDisplay,event->data.l[0],_XA_XdndTypeList,
 			   offset,256,False,XA_ATOM,&ret_type,
 			   &ret_format,&ret_items,&ret_left,
@@ -183,9 +183,6 @@
 	      break;
 	    }
 	  }
-	  /* found it ! */
-	  if (atom_support != None)
-	    break;
 	}
 	/* maybe next time ... */
 	XFree(ret_buff);




More information about the MPlayer-cvslog mailing list