Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: 3abaeef10711f65f1a1a50b5995cf6a6196423e9f3e09367f3065df5565b40ce
Ticket: e3888d582045d0817375b66ae7f5e46f93f809e9
Grab on master prevents mouse pointer warp into slave widget
User & Date: fvogel 2020-01-13 19:10:58
Changes

  1. icomment:
    I think that we should either tweak the grab machinery in case of pointer warping (your original fix proposal), or make each platform generate the required events that will let that machinery work unchanged.
    
    It seems the latter was done on macOS. Indeed, things work on macOS because [https://core.tcl-lang.org/tk/artifact/28d65677fcad7415?ln=666,683|a specific event is being send] on this platform by TkpWarpPointer(), which Windows does not generate. Removing this event from TkpWarpPointer() in tkMaxOSXMouseEvent.c makes the newly added test bind-35.1 fail on the mac.
    
  2. login: "fvogel"
  3. mimetype: "text/x-fossil-wiki"