[dia] Fix drag'n'drop opening of files for the integrated UI.



commit 896bcd5cc7cfa057dfbcf55351bfec38a1d45cc9
Author: Steffen Macke <sdteffen sdteffen de>
Date:   Sat Aug 15 08:11:14 2009 +0200

    Fix drag'n'drop opening of files for the integrated UI.

 app/dia-win-remote.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/dia-win-remote.c b/app/dia-win-remote.c
index 05b9fee..2db07d6 100644
--- a/app/dia-win-remote.c
+++ b/app/dia-win-remote.c
@@ -200,7 +200,8 @@ int DragAndDropDia(HWND hWnd)
 
     /* no wide chars and drop point is in client coordinates */
     pDropFiles->fWide = FALSE;
-    pDropFiles->pt.x = pDropFiles->pt.y = 50;
+    pDropFiles->pt.x = 50;
+	pDropFiles->pt.y = 150;
     pDropFiles->fNC = FALSE;
 
     for(i=(gUseRegVal) ? 1 : 2; i < __argc; ++i)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]