Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: 871252f6b5a83074c7703c4412cd47583fd98557
Ticket: e2f801f6ee3784ebff175a76451a993c4762ad8a
tkProcessEvent return value is trivial
User & Date: anonymous 2014-01-23 14:39:39
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    The return value of tkProcessEvent in macosx/tkMacOSXEvent.c is processedEvent, which is either the same as the input argument theEvent, or equal to the return value of tkProcessKeyEvent or tkProcessMouseEvent. As these two functions always return the input argument theEvent, the return value of tkProcessEvent is always the same as the input argument theEvent. Therefore, in tkMacOSXNotify.c we do not need to check for the return value of tkProcessEvent.
    
    The attached patch is relative to the source code after applying this patch:
    https://core.tcl.tk/tk/tktview?name=bc4552d0bb
    
  5. foundin changed to: "trunk"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "500c9a7a4e11b3ea0441850610e04006941c0cf3"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "70. Event Loop"
  15. title changed to: "tkProcessEvent return value is trivial"
  16. type changed to: "Patch"