| Index: ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h
|
| diff --git a/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h b/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h
|
| index c1eb5515ef88124b8657646d17060a5f8d7a5a6c..7ab2dfc8cdee21ef2b2159b902cce3c31b8b35a1 100644
|
| --- a/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h
|
| +++ b/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h
|
| @@ -27,6 +27,7 @@ class Window;
|
| namespace ui {
|
| class MouseEvent;
|
| class ScopedEventDispatcher;
|
| +class XScopedEventSelector;
|
| }
|
|
|
| namespace views {
|
| @@ -58,7 +59,7 @@ class X11WholeScreenMoveLoop : public X11MoveLoop,
|
| void GrabEscKey();
|
|
|
| // Creates an input-only window to be used during the drag.
|
| - XID CreateDragInputWindow(XDisplay* display);
|
| + void CreateDragInputWindow(XDisplay* display);
|
|
|
| // Dispatch mouse movement event to |delegate_| in a posted task.
|
| void DispatchMouseMovement();
|
| @@ -79,6 +80,9 @@ class X11WholeScreenMoveLoop : public X11MoveLoop,
|
| // are set on this window.
|
| XID grab_input_window_;
|
|
|
| + // Events selected on |grab_input_window_|.
|
| + std::unique_ptr<ui::XScopedEventSelector> grab_input_window_events_;
|
| +
|
| // Whether the pointer was grabbed on |grab_input_window_|.
|
| bool grabbed_pointer_;
|
|
|
|
|