[aseprite] 160/250: Avoid beeps on keyDown/Up on Skia/OSX port
    Tobias Hansen 
    thansen at moszumanska.debian.org
       
    Sun Dec 20 15:27:24 UTC 2015
    
    
  
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 0508b6fd67fbc61f4c2e8b180f2dd38ef76ac946
Author: David Capello <davidcapello at gmail.com>
Date:   Tue Oct 13 17:11:45 2015 -0300
    Avoid beeps on keyDown/Up on Skia/OSX port
---
 src/she/osx/view.mm | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/src/she/osx/view.mm b/src/she/osx/view.mm
index da9286c..754b6dc 100644
--- a/src/she/osx/view.mm
+++ b/src/she/osx/view.mm
@@ -246,7 +246,9 @@ inline Event::MouseButton get_mouse_buttons(NSEvent* event)
 
 - (void)keyDown:(NSEvent*)event
 {
+#if 0 // Avoid beeps TODO comment this when the OS X menus are ready
   [super keyDown:event];
+#endif
 
   Event ev;
   ev.setType(Event::KeyDown);
@@ -263,7 +265,9 @@ inline Event::MouseButton get_mouse_buttons(NSEvent* event)
 
 - (void)keyUp:(NSEvent*)event
 {
+#if 0
   [super keyUp:event];
+#endif
 
   Event ev;
   ev.setType(Event::KeyUp);
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
    
    
More information about the Pkg-games-commits
mailing list