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

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

Issue 2568233003: X11: Reset dispatching event when nested message loop ends (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | ui/events/platform/x11/x11_event_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/platform/x11/x11_event_source.h
diff --git a/ui/events/platform/x11/x11_event_source.h b/ui/events/platform/x11/x11_event_source.h
index 927e67d803e6bae145f6150498b8ae9380016f82..7b1c37de742e62bd66d9d2809d852131edd83837 100644
--- a/ui/events/platform/x11/x11_event_source.h
+++ b/ui/events/platform/x11/x11_event_source.h
@@ -8,7 +8,6 @@
#include <stdint.h>
#include <memory>
-#include <stack>
#include "base/macros.h"
#include "base/optional.h"
@@ -115,9 +114,8 @@ class EVENTS_EXPORT X11EventSource {
// The connection to the X11 server used to receive the events.
XDisplay* display_;
- // Events currently being dispatched. The topmost event in this stack
- // corresponds to the deepest-nested message loop.
- std::stack<XEvent*> dispatching_events_;
+ // Event currently being dispatched.
+ XEvent* dispatching_event_;
// State necessary for UpdateLastSeenServerTime
bool dummy_initialized_;
« no previous file with comments | « no previous file | ui/events/platform/x11/x11_event_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698