diff gui/wm/wsxdnd.c @ 29263:0f1b5b68af32

whitespace cosmetics: Remove all trailing whitespace.
author diego
date Wed, 13 May 2009 02:58:57 +0000
parents b0a7b35b78d2
children 9198f711233e
line wrap: on
line diff
--- a/gui/wm/wsxdnd.c	Tue May 12 19:25:35 2009 +0000
+++ b/gui/wm/wsxdnd.c	Wed May 13 02:58:57 2009 +0000
@@ -138,7 +138,7 @@
 	if (num >= MAX_DND_FILES)
 	  break;
       }
-	
+
       /* Handle the files */
       if(wnd->DandDHandler){
 	wnd->DandDHandler(num,files);
@@ -187,7 +187,7 @@
 			   offset,256,False,XA_ATOM,&ret_type,
 			   &ret_format,&ret_items,&ret_left,
 			   (unsigned char**)&ret_buff);
-	
+
 	/* sanity checks...*/
 	if(ret_buff == NULL || ret_type != XA_ATOM || ret_format != 8*sizeof(Atom)){
 	  XFree(ret_buff);
@@ -210,11 +210,11 @@
     }
     return True;
   }
-  
+
   if (event->message_type == XA_XdndLeave) {
     return True;
   }
-  
+
   if (event->message_type == XA_XdndDrop) {
     if (event->data.l[0] != XGetSelectionOwner(wsDisplay, XA_XdndSelection)){
       puts("Wierd selection owner... QT?");
@@ -226,7 +226,7 @@
     }
     return True;
   }
-  
+
   if (event->message_type == XA_XdndPosition) {
     Window srcwin = event->data.l[0];
     if (atom_support == None){
@@ -241,19 +241,19 @@
       xevent.xany.display = wsDisplay;
       xevent.xclient.window = srcwin;
       xevent.xclient.message_type = XA_XdndStatus;
-      xevent.xclient.format = 32; 
-      
+      xevent.xclient.format = 32;
+
       XDND_STATUS_TARGET_WIN (&xevent) = event->window;
       XDND_STATUS_WILL_ACCEPT_SET (&xevent, True);
       XDND_STATUS_WANT_POSITION_SET(&xevent, True);
       /* actually need smth real here */
       XDND_STATUS_RECT_SET(&xevent, 0, 0, 1024,768);
       XDND_STATUS_ACTION(&xevent) = XA_XdndActionCopy;
-      
+
       XSendEvent(wsDisplay, srcwin, 0, 0, &xevent);
     }
     return True;
   }
-  
+
   return False;
 }