Patch applied by Torbjörn Lindeijer
Patch applied by Torbjörn Lindeijer

--- src/focushandler.cpp	25 Jul 2006 21:50:59 -0000	1.26
+++ src/focushandler.cpp	12 Sep 2006 21:28:16 -0000
@@ -269,13 +269,15 @@
             mToBeFocused = NULL;
         }

-        int i = 0;
+        if (isDragged(widget))
+        {
+            mDraggedWidget = NULL;
+        }
+
         WidgetIterator iter;

         for (iter = mWidgets.begin(); iter != mWidgets.end(); ++iter)
         {
-            ++i;
-
             if ((*iter) == widget)
             {
                 mWidgets.erase(iter);

mettli/guichan,littleflylongbow/guichan,sanyaade-g2g-repos/guichan,sanyaade-g2g-repos/guichan,mettli/guichan,littleflylongbow/guichan