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

Unified Diff: services/ui/ws/window_manager_state.cc

Issue 2310133002: Add mojom::DisplayController. (Closed)
Patch Set: Add missing dep. 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
« no previous file with comments | « services/ui/ws/platform_display_init_params.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_manager_state.cc
diff --git a/services/ui/ws/window_manager_state.cc b/services/ui/ws/window_manager_state.cc
index 21d677e48ca2bdd8b0d6996432ed846f87a782c5..a79ee362d03df98be975597ee3ba305ec1fbb462 100644
--- a/services/ui/ws/window_manager_state.cc
+++ b/services/ui/ws/window_manager_state.cc
@@ -103,7 +103,8 @@ class WindowManagerState::ProcessedEventTarget {
bool WindowManagerState::DebugAccelerator::Matches(
const ui::KeyEvent& event) const {
return key_code == event.key_code() &&
- event_flags == (kAcceleratorEventFlags & event.flags());
+ event_flags == (kAcceleratorEventFlags & event.flags()) &&
+ !event.is_char();
}
WindowManagerState::QueuedEvent::QueuedEvent() {}
« no previous file with comments | « services/ui/ws/platform_display_init_params.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698