comparison Gui/wm/wsxdnd.c @ 7095:fad0147bd3aa

- add dxr3 equ patch from "Szombathelyi [iso-8859-2] Gy«Órgy" <gyurco@freemail.hu> - add cosmetic patch from uh ... don't know :)
author pontscho
date Tue, 27 Aug 2002 08:33:05 +0000
parents 8e9607c5897e
children e4736a12c898
comparison
equal deleted inserted replaced
7094:208e6b23b038 7095:fad0147bd3aa
3 3
4 #include <X11/Xlib.h> 4 #include <X11/Xlib.h>
5 #include "ws.h" 5 #include "ws.h"
6 #include "wsxdnd.h" 6 #include "wsxdnd.h"
7 7
8 #include <stdio.h>
8 #include <stdlib.h> 9 #include <stdlib.h>
9 #include <string.h> 10 #include <string.h>
10 11
11 #include <X11/Xatom.h> 12 #include <X11/Xatom.h>
12 13
156 /* need to check the whole list here */ 157 /* need to check the whole list here */
157 unsigned long ret_left = 1; 158 unsigned long ret_left = 1;
158 int offset = 0; 159 int offset = 0;
159 Atom* ret_buff; 160 Atom* ret_buff;
160 Atom ret_type; 161 Atom ret_type;
161 unsigned long ret_format,ret_items; 162 int ret_format;
163 unsigned long ret_items;
164
162 /* while there is data left...*/ 165 /* while there is data left...*/
163 while(ret_left){ 166 while(ret_left){
164 XGetWindowProperty(wsDisplay,event->data.l[0],_XA_XdndTypeList, 167 XGetWindowProperty(wsDisplay,event->data.l[0],_XA_XdndTypeList,
165 offset,256,False,XA_ATOM,&ret_type, 168 offset,256,False,XA_ATOM,&ret_type,
166 &ret_format,&ret_items,&ret_left, 169 &ret_format,&ret_items,&ret_left,