summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXMouseEvent.c
Commit message (Collapse)AuthorAgeFilesLines
*-. Implement TIP #474: Treat the mouse wheel events in a uniform wayjan.nijtmans2020-10-211-11/+16
|\ \
| * | Now (really) swap Buttons 2|3 on MacOS. Adapt all bindings not depending on ↵jan.nijtmans2020-09-201-0/+3
| | | | | | | | | | | | aqua any more
| * | Merge 8.7.jan.nijtmans2020-09-201-3/+3
| |\ \ | | | | | | | | Button-4|5|6|7 binding no longer necessary
| * \ \ Merge 8.7. Make test-cases on MacOS and X11 pass (win32 not tested yet)jan.nijtmans2020-09-151-186/+214
| |\ \ \
| * \ \ \ Merge trunkjan.nijtmans2019-08-291-5/+5
| |\ \ \ \
| * | | | | Further experiment: Bring scalefactor back to 120 (as it was for win32)jan.nijtmans2019-07-261-6/+8
| | | | | |
| * | | | | Experiment: Handle scaling fractors for the ScrollWheel sensibly. Trying ↵jan.nijtmans2019-07-251-11/+32
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | "40" as a good general scale factor (compared to "50" on X11 and "120" on Win32 and "1" on Aqua)
| * | | | | | A few more minor adaptations, and make it compile on X11 (XKeyEvent ↵jan.nijtmans2019-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | structure doesn't have a nbytes field).
| * | | | | | Code simplification: Don't bother keeping track of the Button[n]Mask's for ↵jan.nijtmans2019-07-241-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Buttons 4-7, since those are not actually buttons (they are mouse-wheels). This means that Button4Mask/Button5Mask can be used for Buttons 8/9.
| * | | | | | Merge trunk. Adapt documentationjan.nijtmans2019-07-231-2/+2
| |\ \ \ \ \ \ | | |/ / / / /
| * | | | | | mis-counted modifier bitsjan.nijtmans2019-07-231-2/+2
| | | | | | |
| * | | | | | Fix [38dc27bd1d]: Tk does not support <Button-6> nor <Button-7> events. Now ↵jan.nijtmans2019-07-231-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handle all events up to Button 9. On Windows and Mac, Buttons 8 and 9 are used for the mouse side buttons (as X11 already does). TIP needed for this.
* | | | | | | Make everything compile warning-free using -Wundefjan.nijtmans2020-10-081-1/+1
| |_|_|_|/ / |/| | | | |
* | | | | | Fix [4f4f03f5eb]: B1-Motion events are ignored in the window title bar.marc_culler2020-09-181-1/+1
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Fix the button state for drags.marc_culler2020-09-181-3/+0
| | | | | |
| * | | | | Fix [4f4f03f5eb]: in Aqua allow mouse drags across the titlebar while ↵marc_culler2020-09-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | ignoring button presses in the title bar.
* | | | | | Fixes for Apple Event execution on app startup and window display in ↵Kevin Walzer2020-09-171-2/+2
|\ \ \ \ \ \ | |/ / / / / | | | | | / | |_|_|_|/ |/| | | | IDLE/Tkinter
| * | | | Deal with the deprecation of the context property of mouse NSEvents.marc_culler2020-09-161-2/+2
| | | | |
* | | | | Merge 8.6marc_culler2020-09-141-10/+14
|\ \ \ \ \ | |/ / / /
| * | | | Fix [71e18c5c0a]: Aqua invalid selector crash when switching between normal ↵marc_culler2020-09-141-10/+14
| | | | | | | | | | | | | | | | | | | | and full screen mode.
* | | | | Merge 8.6marc_culler2020-09-081-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Kill off the last extraneous button event, produced by NSMouseDragged.marc_culler2020-09-081-1/+1
| | | | |
* | | | | Merge 8.6marc_culler2020-09-071-121/+172
|\ \ \ \ \ | |/ / / /
| * | | | Fix [39cbacb9e8] and revisit [d72abe6b54] both dealing with inappropriate ↵marc_culler2020-09-071-121/+172
| |\ \ \ \ | | | | | | | | | | | | | | | | | | mouse button events. Refactor mouse event code.
| | * | | | fix a typomarc_culler2020-09-071-1/+1
| | | | | |
| | * | | | Work around the fact that we do need to process synthesized mouse events for ↵marc_culler2020-09-071-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | testing
| | * | | | Don't process events for non-Tk windows.marc_culler2020-09-061-6/+19
| | | | | |
| | * | | | We do need to process MouseDragged events, though, since they appear in ↵marc_culler2020-09-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | place of MouseMoved events.
| | * | | | Don't process events which have no meaning to Tk.culler2020-09-061-6/+8
| | | | | |
| | * | | | Maintain our own button state so we can provide Tk_UpdatePointer with the ↵marc_culler2020-09-061-30/+42
| | | | | | | | | | | | | | | | | | | | | | | | data that it expects.
| | * | | | Supply the missing description of TkpWarpPointer.marc_culler2020-09-051-0/+17
| | | | | |
| | * | | | One more trick.culler2020-09-051-8/+5
| | | | | |
| | * | | | Deal with the nested tracking areas in the title bar.culler2020-09-051-6/+26
| | | | | |
| | * | | | Deal with coordinate conversion on older macs. Edit comments.culler2020-09-051-6/+14
| | | | | |
| | * | | | Straighten out a lot of convoluted code in tkMacOSXMouseEvent.cculler2020-09-041-110/+85
| | | | | |
| | * | | | Better fix for [d72abe6b54] using NSEvents.marc_culler2020-09-021-3/+6
| | | | | |
* | | | | | Merge 8.6jan.nijtmans2020-09-021-2/+2
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Rename (internal) TkMacOSXDrawableView() -> TkMacOSXGetNSViewForDrawable()jan.nijtmans2020-09-021-2/+2
| |/ / / /
* | | | | Implement TIP #580: Export Tk_GetDoublePixelsFromObj and 5 morejan.nijtmans2020-09-021-1/+1
|\ \ \ \ \
| * | | | | New TIP #580 implementation. Documentation still missing.jan.nijtmans2020-07-141-1/+1
| | | | | |
* | | | | | Merge 8.6jan.nijtmans2020-09-021-8/+8
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Eliminate MODULE_SCOPE wrapper function for TkMacOSXDrawable(). Rename ↵jan.nijtmans2020-09-021-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | (internal) TkMacOSXDrawableWindow() to TkMacOSXGetNSWindowForDrawable(). Code (type-cast) cleanup
* | | | | | Merge 8.6jan.nijtmans2020-08-311-32/+0
|\ \ \ \ \ \ | |/ / / / / | | / / / / | |/ / / / |/| | | |
| * | | | Remove obsolete codejan.nijtmans2020-08-311-32/+0
| | | | |
* | | | | Fix [34214bbdae]: typographical fixes in comments. Thanks to Christopher Chavez.fvogel2020-07-081-3/+3
|\ \ \ \ \ | |/ / / /
| * | | | Fix [34214bbdae]: typographical fixes in comments. Thanks to Christopher Chavez.fvogel2020-07-081-3/+3
| | | | |
| * | | | Fix [e3888d5820]: Grab on master prevents mouse pointer warp into slave ↵fvogel2020-07-061-29/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | widget. Mouse pointer warping happens at idle time, and the fix does not change this.
* | \ \ \ \ Fix [e3888d5820]: Grab on master prevents mouse pointer warp into slave ↵fvogel2020-07-061-29/+1
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | widget. Mouse pointer warping happens synchronously.
| * | | | | Remove code from TkpWarpPointer which was only needed to construct the ↵marc_culler2020-05-161-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | NSEvent that is no longer being constructed.
| * | | | | Remove useless generation of NSMouseMoved event when warping the mouse ↵fvogel2020-01-251-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | pointer on the mac