[aseprite] 204/308: Avoid missing DDE files because the loading dialog box/progress bar is open

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 8 02:45:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 9c653ef86e08ad41f309d08b5ec0b20799e1d35b
Author: David Capello <davidcapello at gmail.com>
Date:   Thu Feb 4 13:02:41 2016 -0300

    Avoid missing DDE files because the loading dialog box/progress bar is open
---
 src/app/modules/gui.cpp | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/app/modules/gui.cpp b/src/app/modules/gui.cpp
index ff0250b..a472d7a 100644
--- a/src/app/modules/gui.cpp
+++ b/src/app/modules/gui.cpp
@@ -1,5 +1,5 @@
 // Aseprite
-// Copyright (C) 2001-2015  David Capello
+// Copyright (C) 2001-2016  David Capello
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License version 2 as
@@ -345,11 +345,6 @@ bool CustomizedGuiManager::onProcessMessage(Message* msg)
 
     case kDropFilesMessage:
       {
-        // If the main window is not the current foreground one. We
-        // discard the drop-files event.
-        if (getForegroundWindow() != App::instance()->getMainWindow())
-          break;
-
         const DropFilesMessage::Files& files = static_cast<DropFilesMessage*>(msg)->files();
 
         // Open all files

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