Package: childsplay Version: 2.6.5-1 Severity: important
In childsplay, close button in pygame window is not responding. Patch for resolving the same is attached. Regards, Prathibha Senior Engineer CDAC Chennai ------------------------------------------------------------------------------------------------------------------------------- [ C-DAC is on Social-Media too. Kindly follow us at: Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ] This e-mail is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies and the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email is strictly prohibited and appropriate legal action will be taken. -------------------------------------------------------------------------------------------------------------------------------
Description: * Code to handle the QUIT event in pygame window. Author: Prathibha B <[email protected]> --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: <vendor|upstream|other>, <url of original patch> Bug: <url in upstream bugtracker> Bug-Debian: https://bugs.debian.org/<bugnumber> Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> Forwarded: <no|not-needed|url proving that it has been forwarded> Reviewed-By: <name and email of someone who approved the patch> Last-Update: <YYYY-MM-DD> --- childsplay-2.6.5.orig/SPMainCore.py +++ childsplay-2.6.5/SPMainCore.py @@ -1487,6 +1487,9 @@ class MainCoreGui: pygame.event.pump() events = pygame.event.get() for event in events: + if event.type is QUIT: + self.run_event_loop = False + raise EscapeKeyException if event.type == KEYDOWN: if event.key is K_ESCAPE or event.type is QUIT: self.run_event_loop = False

