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

Unified Diff: ui/events/platform/x11/x11_event_source.cc

Issue 255823009: [WIP] ui/window: Master CL. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/events/platform/x11/x11_event_source.cc
diff --git a/ui/events/platform/x11/x11_event_source.cc b/ui/events/platform/x11/x11_event_source.cc
index e074bc8e79cb41618f0049cee3c898bfca1b3119..0eea5e954d86d9d4f6322330edf45ee4453f418b 100644
--- a/ui/events/platform/x11/x11_event_source.cc
+++ b/ui/events/platform/x11/x11_event_source.cc
@@ -81,6 +81,7 @@ bool InitializeXkb(XDisplay* display) {
X11EventSource::X11EventSource(XDisplay* display)
: display_(display) {
+ LOG(ERROR) << "Created " << this << " with " << display_;
CHECK(display_);
InitializeXInput2(display_);
InitializeXkb(display_);
@@ -112,6 +113,8 @@ void X11EventSource::DispatchXEvents() {
}
void X11EventSource::BlockUntilWindowMapped(XID window) {
+ LOG(ERROR) << "Blocking for " << window << " in " << this << " on "
+ << display_;
XEvent event;
do {
// Block until there's a message of |event_mask| type on |w|. Then remove

Powered by Google App Engine
This is Rietveld 408576698