end wl xdnd drags on the compositor canvas using the full dnd end codepath
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 19 Aug 2015 18:17:12 +0000 (14:17 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 19 Aug 2015 18:35:04 +0000 (14:35 -0400)
fix T2652

src/bin/e_dnd.c

index 1e0e9ff..b0e9fbd 100644 (file)
@@ -989,13 +989,14 @@ _e_drag_end(int x, int y)
                   if (win == e_comp->ee_win) break;
                }
           }
+        else
 #endif
+          if ((e_comp->comp_type == E_PIXMAP_TYPE_WL) && (win == e_comp->ee_win))
+            break;
         if (_drag_current->cb.finished)
           _drag_current->cb.finished(_drag_current, dropped);
         _drag_current->cb.finished = NULL;
         _drag_current->ended = 1;
-        if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
-          e_comp_ungrab_input(1, 1);
         return;
      }