Index: ui/views/view.h |
diff --git a/ui/views/view.h b/ui/views/view.h |
index 2ffc6204be76c4a1e29e37c198d8a3696f7695f7..337012c053e51577a250b0161823ee86b9bc7226 100644 |
--- a/ui/views/view.h |
+++ b/ui/views/view.h |
@@ -1540,6 +1540,11 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
DragController* drag_controller_; |
+ // True while we're performing DoDrag(). On X11, we can have multiple mouse |
+ // move events in our event queue when we start a drag, so we need a way to |
+ // ignore events after the first one. |
+ bool currently_dragging_; |
+ |
// Input -------------------------------------------------------------------- |
scoped_ptr<internal::PostEventDispatchHandler> post_dispatch_handler_; |