[aseprite] 195/250: Remove unnecessary filtering of key events in PopupWindow

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:30 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 02ef2268fef2e6ca98370423dc20216f43786ee8
Author: David Capello <davidcapello at gmail.com>
Date:   Mon Oct 19 15:31:34 2015 -0300

    Remove unnecessary filtering of key events in PopupWindow
    
    In this way Tab key (and other focus movement keys) can be used
    in PopupWindows. They aren’t propagated to the main window because
    a correct filter was added in 883629b563ff36e4fb8bd1562f2cebf037bbc98a
---
 src/ui/popup_window.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/ui/popup_window.cpp b/src/ui/popup_window.cpp
index baa90c6..d70d173 100644
--- a/src/ui/popup_window.cpp
+++ b/src/ui/popup_window.cpp
@@ -97,11 +97,6 @@ bool PopupWindow::onProcessMessage(Message* msg)
           closeWindow(NULL);
         }
 
-        // If we are filtering messages we don't propagate key-events
-        // to other widgets. As we're a popup window and we're
-        // filtering messages, the user shouldn't be able to start
-        // other actions pressing keyboard shortcuts.
-        return false;
       }
       break;
 

-- 
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