aboutsummaryrefslogtreecommitdiffhomepage
path: root/Gui/wm
diff options
context:
space:
mode:
authorGravatar pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-16 20:16:29 +0000
committerGravatar pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-16 20:16:29 +0000
commit3490a00e2b5952b9c49781859073e3515f78bcd7 (patch)
tree709a5c628e5a42c1a9cbb46c3a979cdf219fa176 /Gui/wm
parent600abbc5271d25383fd98cae677a2f27fb9dab07 (diff)
applied Gregory's patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8482 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/wm')
-rw-r--r--Gui/wm/wsxdnd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Gui/wm/wsxdnd.c b/Gui/wm/wsxdnd.c
index c971c48afb..cc755e6e4b 100644
--- a/Gui/wm/wsxdnd.c
+++ b/Gui/wm/wsxdnd.c
@@ -163,7 +163,7 @@ wsXDNDProcessClientMessage(wsTWindow* wnd, XClientMessageEvent *event)
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 @@ wsXDNDProcessClientMessage(wsTWindow* wnd, XClientMessageEvent *event)
break;
}
}
- /* found it ! */
- if (atom_support != None)
- break;
}
/* maybe next time ... */
XFree(ret_buff);