]> khamidou — GitHub mirrors - electron.git/commitdiff
return value windows_touch2
authorKarim Hamidou <khamidou@gmail.com>
Tue, 16 Feb 2016 01:25:37 +0000 (17:25 -0800)
committerKarim Hamidou <khamidou@gmail.com>
Tue, 16 Feb 2016 01:25:37 +0000 (17:25 -0800)
atom/browser/native_window_views.cc

index e0d0f52ac0cc156de248dc2976ea3aa755cdc500..21bca53206b472b57466b81f060af3466bdaf0ef 100644 (file)
@@ -971,6 +971,7 @@ void NativeWindowViews::OnGestureEvent(ui::GestureEvent* event) {
 
 bool NativeWindowViews::OnKeyPressed(const ui::KeyEvent& event) {
   puts("ONKEYPRESSED !");
+  return true;
 }
 
 bool NativeWindowViews::AcceleratorPressed(const ui::Accelerator& accelerator) {