summaryrefslogtreecommitdiffstats
path: root/generic/tkEvent.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix [bcbf4c9875]: Tk intialization overwrites thread specific datajan.nijtmans2024-11-251-34/+0
|\
| * Fix [bcbf4c9875]: Tk intialization overwrites thread specific datajan.nijtmans2024-11-251-34/+0
| |
* | Small round of sentinel/spacing improvementsjan.nijtmans2024-05-241-16/+16
| |
* | Introduce a separate TouchpadScroll event. Avoids Extended-MouseWheel ↵marc_culler2023-11-271-1/+2
| | | | | | | | events being handled by MouseWheel bindings.
* | Fix [b305ee09b1]: valgrind reports that Conditional jump or move depends on ↵fvogel2023-09-031-10/+12
| | | | | | | | uninitialised value(s)
* | Merge 8.6jan.nijtmans2022-09-101-1/+1
|\ \ | |/
| * Fix [006403a25d]: various comment/documentation fixesjan.nijtmans2022-09-101-1/+1
| |
* | Fix use of DEF_LABEL_FG with Tcl 9.0 headers. Doc fix, various other tweaksjan.nijtmans2021-11-131-1/+1
| |
* | Fix mouswheel handling when mouse doesn't have horizontal movement, but this ↵jan.nijtmans2021-03-211-1/+1
| | | | | | | | is handled by the driver when using Shift. Could happen for both MacOS as UNIX
* | (c) -> ©jan.nijtmans2020-12-091-4/+4
| |
* | Another bugfix: xbutton.button and xkey.keycode are actually the same field. ↵jan.nijtmans2020-09-211-2/+3
| | | | | | | | Doogh....
* | Invert Scrollwheel direction on X11jan.nijtmans2020-09-211-1/+1
| |
* | Merge 8.7. Make test-cases on MacOS and X11 pass (win32 not tested yet)jan.nijtmans2020-09-151-65/+97
|\ \
| * \ Merge 8.6jan.nijtmans2020-09-151-7/+4
| |\ \ | | |/
| | * More usage of TCL_UNUSED() and explicit type-castsjan.nijtmans2020-09-151-36/+36
| | |
| | * Code simplifications: Don't bother the typedefs 'EventMask' and 'ModMask' ↵jan.nijtmans2020-07-151-3/+3
| | | | | | | | | | | | for 'unsigned long', since Tk cannot handle more than 32 bits anyway. Simply use 'unsigned' everywhere.
| * | New TIP #580 implementation. Documentation still missing.jan.nijtmans2020-07-141-5/+5
| | |
| * | Merge 8.6jan.nijtmans2020-05-151-1/+3
| |\ \ | | |/
| | * Fix [a953736b546ce681cbfc]: Potential wrong use of TkKeyEvent. Finally done ↵jan.nijtmans2020-05-151-1/+3
| | | | | | | | | | | | | | | | | | what's suggested there: Since kePtr->charValuePtr is only used on X11, only do the ckfree(kePtr->charValuePtr) on X11. On Win32, use TkKeyEvent in stead of the non-standard XEvent. On macOS TkKeyEvent is not used, so no change is needed (- MC).
| * | Fix C++ buildjan.nijtmans2020-03-311-0/+8
| | |
| * | Merge 8.6jan.nijtmans2020-03-301-0/+41
| |\ \ | | |/
| | * Make TkGenerateActivateEvents() available to Win32 and X11jan.nijtmans2020-03-291-0/+41
| | |
| * | Merge trunkjan.nijtmans2020-02-051-17/+4
| |\ \
| | * \ Merge 8.6jan.nijtmans2020-02-031-17/+4
| | |\ \ | | | |/
| | | * Merge 8.5jan.nijtmans2020-02-031-17/+4
| | | |\
| | | | * Put realEventMasks and virtualEventMasks together in a single table: ↵jan.nijtmans2020-02-031-17/+4
| | | | | | | | | | | | | | | | | | | | VirtualEvent = MappingNotify + 1, so it's fixed anyway. Other places in Tk code already depend on that, so we can here.
| | | * | Merge TIP #532 implementation now that [c1c842ef7792] (new tkBind.c: wrong ↵fvogel2019-08-281-66/+0
| | | |\ \ | | | | | | | | | | | | | | | | | | assumption about ButtonRelease to match Button presses) is fixed.
| | | | * \ Merge 8.6jan.nijtmans2019-08-131-2/+2
| | | | |\ \
| | | | * \ \ Merge 8.6, and remove unused static function definitionjan.nijtmans2019-08-021-1/+0
| | | | |\ \ \
| | | | * \ \ \ Merge 8.6 (and fix merge conflict arising from that)jan.nijtmans2019-08-011-18/+9
| | | | |\ \ \ \ | | | | | |/ / /
| | | | * | | | Remove the crazy function UpdateButtonEventState which was causing all this ↵culler2019-08-011-67/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | trouble.
| | | * | | | | Fix [5da1d76e01]: X11: add default bindings for non-emulated horizontal ↵jan.nijtmans2019-08-221-0/+8
| | | |\ \ \ \ \ | | | | |_|_|/ / | | | |/| | | | | | | | | | | | scrolling to Tk 8.6
| | | | * | | | Improve implementation in tkEvent.c. jan.nijtmans2019-08-211-10/+9
| | | | |\ \ \ \ | | | | |/ / / / | | | |/| | | | Merge 8.6
| | | | * | | | Much simpler (still Experimental) implementation of RFE-5da1d76e01. Just ↵jan.nijtmans2019-08-191-1/+10
| | | |/ / / / | | | | | | | | | | | | | | | | | | | | | translate 6/7 to Shift-4/5
| * | | | | | Much more WIP: Appears to be working on UNIX, and for a bit part on Windows too.jan.nijtmans2019-12-201-35/+38
| |/ / / / /
| * | | | | Merge trunkjan.nijtmans2019-09-251-66/+0
| |\ \ \ \ \
| * | | | | | Experiment: Upgrade X11 header files from X11 R5 to X11 R6. This opens the ↵jan.nijtmans2019-08-141-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | way to implement more (e.g. XIM support) for Win32 and MacOSX.
* | | | | | | Merge trunkjan.nijtmans2019-08-291-66/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge 8.7jan.nijtmans2019-08-131-3/+4
| |\ \ \ \ \ \ | | |/ / / / /
| * | | | | | merge trunk (after fixing conflicts)fvogel2019-08-041-18/+9
| |\ \ \ \ \ \
| * | | | | | | Remove unused static function definition (same as [2136a574])fvogel2019-08-041-1/+0
| | | | | | | |
| * | | | | | | Cherrypicked [3b3c3b02]: Remove the crazy function UpdateButtonEventState ↵fvogel2019-08-041-67/+0
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | which was causing trouble.
* | | | | | | Merge trunk. jan.nijtmans2019-08-221-20/+19
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | Eliminate use of "mouseunits", was not a good idea. Move code out of UpdateButtonEventState() function.
| * | | | | | Merge 8.6jan.nijtmans2019-08-131-2/+3
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | |
| | * | | | | A few more places where "unsigned long" should have been used.jan.nijtmans2019-08-131-1/+1
| | | | | | |
| * | | | | | Merge 8.6jan.nijtmans2019-08-131-1/+1
| |\ \ \ \ \ \ | | |/ / / / / | | | | / / / | | |_|/ / / | |/| | | |
| | * | | | Use "unsigned long" as type for "mask" variables containing X11 button-masks ↵jan.nijtmans2019-08-131-1/+1
| | | |/ / | | |/| | | | | | | | | | | | consistantly. Code cleanup.
| * | | | Follow-up to [38dc27bd1d0ecd682aafde]: Tk does not support <Button-6> nor ↵jan.nijtmans2019-07-301-4/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | <Button-7> events. This commit adds hardware-support for buttons 6-9 on MacOSX, and handles masking correct for all buttons 6-9. Not complete yet, but this is as far as we can go without needing a TIP.
* | | | Further experiment: Bring scalefactor back to 120 (as it was for win32)jan.nijtmans2019-07-261-1/+1
| | | |
* | | | Experiment: Handle scaling fractors for the ScrollWheel sensibly. Trying ↵jan.nijtmans2019-07-251-6/+7
|\ \ \ \ | |/ / / | | | | | | | | "40" as a good general scale factor (compared to "50" on X11 and "120" on Win32 and "1" on Aqua)