summaryrefslogtreecommitdiffstats
path: root/ui/aura/window_tree_host_x11.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura/window_tree_host_x11.cc')
-rw-r--r--ui/aura/window_tree_host_x11.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/aura/window_tree_host_x11.cc b/ui/aura/window_tree_host_x11.cc
index 36e7156..35ebb1e 100644
--- a/ui/aura/window_tree_host_x11.cc
+++ b/ui/aura/window_tree_host_x11.cc
@@ -366,7 +366,7 @@ uint32_t WindowTreeHostX11::DispatchEvent(const ui::PlatformEvent& event) {
switch (ui::EventTypeFromNative(xev)) {
case ui::ET_KEY_PRESSED:
case ui::ET_KEY_RELEASED: {
- ui::KeyEvent keydown_event(xev, false);
+ ui::KeyEvent keydown_event(xev);
SendEventToProcessor(&keydown_event);
break;
}
@@ -687,7 +687,7 @@ void WindowTreeHostX11::DispatchXI2Event(const base::NativeEvent& event) {
}
case ui::ET_KEY_PRESSED:
case ui::ET_KEY_RELEASED: {
- ui::KeyEvent key_event(xev, false);
+ ui::KeyEvent key_event(xev);
SendEventToProcessor(&key_event);
break;
}