Index: ui/views/widget/desktop_aura/x11_window_event_filter.h |
diff --git a/ui/views/widget/desktop_aura/x11_window_event_filter.h b/ui/views/widget/desktop_aura/x11_window_event_filter.h |
index 47bc69fc916c27dd741a71486dd93f031c2b8b2f..5c7e72229bb0133010a0987bc8477a68c0f7aeec 100644 |
--- a/ui/views/widget/desktop_aura/x11_window_event_filter.h |
+++ b/ui/views/widget/desktop_aura/x11_window_event_filter.h |
@@ -60,6 +60,13 @@ class VIEWS_EXPORT X11WindowEventFilter : public ui::EventHandler { |
// True if |xwindow_| is the current _NET_ACTIVE_WINDOW. |
bool is_active_; |
+ // The non-client component for the target of a MouseEvent. Mouse events can |
+ // be destructive to the window tree, which can cause the component of a |
+ // ui::EF_IS_DOUBLE_CLICK event to no longer be the same as that of the |
+ // initial click. Acting on a double click should only occur for matching |
+ // components. |
+ int click_component_; |
+ |
DISALLOW_COPY_AND_ASSIGN(X11WindowEventFilter); |
}; |