| Index: ui/aura/window_tree_host_x11.h
|
| diff --git a/ui/aura/window_tree_host_x11.h b/ui/aura/window_tree_host_x11.h
|
| index f209e10bdba49a8d8800cd4f028d60a4871707ad..8ae70d5614ffe90e04f12d0e4a5428deab18d3da 100644
|
| --- a/ui/aura/window_tree_host_x11.h
|
| +++ b/ui/aura/window_tree_host_x11.h
|
| @@ -24,6 +24,7 @@ typedef XID Window;
|
|
|
| namespace ui {
|
| class MouseEvent;
|
| +class XScopedEventSelector;
|
| }
|
|
|
| namespace aura {
|
| @@ -52,6 +53,9 @@ class AURA_EXPORT WindowTreeHostX11 : public WindowTreeHost,
|
| void MoveCursorToNative(const gfx::Point& location) override;
|
| void OnCursorVisibilityChangedNative(bool show) override;
|
|
|
| + // Deselects mouse and keyboard events on |xwindow_|.
|
| + void DisableInput();
|
| +
|
| protected:
|
| // Called when X Configure Notify event is recevied.
|
| virtual void OnConfigureNotify();
|
| @@ -79,6 +83,9 @@ class AURA_EXPORT WindowTreeHostX11 : public WindowTreeHost,
|
| XDisplay* xdisplay_;
|
| ::Window xwindow_;
|
|
|
| + // Events selected on |xwindow_|.
|
| + std::unique_ptr<ui::XScopedEventSelector> xwindow_events_;
|
| +
|
| // The native root window.
|
| ::Window x_root_window_;
|
|
|
|
|