changeset 34470:571201af959c

Remove unused parameter from wsXDNDProcessClientMessage().
author ib
date Fri, 13 Jan 2012 16:36:06 +0000
parents c3f95506f756
children 65ea3b7a704b
files gui/wm/ws.c gui/wm/wsxdnd.c gui/wm/wsxdnd.h
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gui/wm/ws.c	Fri Jan 13 16:19:35 2012 +0000
+++ b/gui/wm/ws.c	Fri Jan 13 16:36:06 2012 +0000
@@ -688,7 +688,7 @@
             }
         } else {
             /* try to process DND events */
-            wsXDNDProcessClientMessage(wsWindowList[l], &Event->xclient);
+            wsXDNDProcessClientMessage(&Event->xclient);
         }
 
         break;
--- a/gui/wm/wsxdnd.c	Fri Jan 13 16:19:35 2012 +0000
+++ b/gui/wm/wsxdnd.c	Fri Jan 13 16:36:06 2012 +0000
@@ -150,7 +150,7 @@
 }
 
 Bool
-wsXDNDProcessClientMessage(wsTWindow* wnd, XClientMessageEvent *event)
+wsXDNDProcessClientMessage(XClientMessageEvent *event)
 {
   /* test */
   /*{
--- a/gui/wm/wsxdnd.h	Fri Jan 13 16:19:35 2012 +0000
+++ b/gui/wm/wsxdnd.h	Fri Jan 13 16:36:06 2012 +0000
@@ -23,7 +23,7 @@
 
 void wsXDNDInitialize(void);
 Bool wsXDNDProcessSelection(wsTWindow* wnd,XEvent *event);
-Bool wsXDNDProcessClientMessage(wsTWindow* wnd, XClientMessageEvent *event);
+Bool wsXDNDProcessClientMessage(XClientMessageEvent *event);
 void wsXDNDMakeAwareness(wsTWindow* window);
 void wsXDNDClearAwareness(wsTWindow* window);