Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2069)

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h

Issue 2319933002: X11: Remove calls to XSelectInput (Closed)
Patch Set: Comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
index 40933bc596479e6cd9e5a73b8fbe066ef83882fe..07e35cabb1abd6d4bfac08a3b561311d1aa6a4b6 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
@@ -32,6 +32,7 @@ class ImageSkiaRep;
namespace ui {
class EventHandler;
+class XScopedEventSelector;
}
namespace views {
@@ -270,6 +271,9 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
XDisplay* xdisplay_;
::Window xwindow_;
+ // Events selected on |xwindow_|.
+ std::unique_ptr<ui::XScopedEventSelector> xwindow_events_;
+
// The native root window.
::Window x_root_window_;
« no previous file with comments | « ui/views/test/x11_property_change_waiter.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698