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 7cc97a187501efe31bb095c4744d40fd6d8c15e9..6fcdde198424f3bddb1cc1f108b656e92201821a 100644 |
--- a/ui/views/widget/desktop_aura/x11_window_event_filter.h |
+++ b/ui/views/widget/desktop_aura/x11_window_event_filter.h |
@@ -58,6 +58,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 double_click_component_; |
sadrul
2014/04/10 20:49:59
Call this simply |click_component_|. With 'double'
jonross
2014/04/11 16:46:41
Done.
|
+ |
DISALLOW_COPY_AND_ASSIGN(X11WindowEventFilter); |
}; |