Tk Source Code

Check-in [408bdfa7]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Superfluous comment removed.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | bug6e8afe516d
Files: files | file ages | folders
SHA3-256:408bdfa7f55f3c4ce7e184c2659b4ae810c8d3157d639bc1473ce0efb400ccc4
User & Date: gcramer 2019-01-13 15:48:42
Context
2019-01-14
17:15
Fix in comparison of homegeneous equal sequences, a real problem with old implementation, see new test case bind-33.15. check-in: be0be1ae user: gcramer tags: bug6e8afe516d
2019-01-13
15:48
Superfluous comment removed. check-in: 408bdfa7 user: gcramer tags: bug6e8afe516d
12:09
Reverting change of return type of function Tk_CreateBinding: 'unsigned long' -> 'Mask'. X11 headers are not using type 'Mask', so I will not use either. check-in: 834b7e14 user: gcramer tags: bug6e8afe516d
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tkBind.c.

3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930

    if (flags & KEY_BUTTON_MOTION_CROSSING) {
	event.general.xkey.x_root = -1;
	event.general.xkey.y_root = -1;
    }

    if (event.general.xany.type == FocusIn || event.general.xany.type == FocusOut) {
	/* XXX doesn't work for any reason, see tkFocus.c:283 */
	event.general.xany.send_event = GENERATED_FOCUS_EVENT_MAGIC;
    }

#ifdef DONT_REDIRECT_GENERATED_KEY_EVENTS
    if (event.general.xany.type == KeyPress || event.general.xany.type == KeyRelease) {
	event.general.xany.send_event = GENERATED_FOCUS_EVENT_MAGIC;
    }







<







3916
3917
3918
3919
3920
3921
3922

3923
3924
3925
3926
3927
3928
3929

    if (flags & KEY_BUTTON_MOTION_CROSSING) {
	event.general.xkey.x_root = -1;
	event.general.xkey.y_root = -1;
    }

    if (event.general.xany.type == FocusIn || event.general.xany.type == FocusOut) {

	event.general.xany.send_event = GENERATED_FOCUS_EVENT_MAGIC;
    }

#ifdef DONT_REDIRECT_GENERATED_KEY_EVENTS
    if (event.general.xany.type == KeyPress || event.general.xany.type == KeyRelease) {
	event.general.xany.send_event = GENERATED_FOCUS_EVENT_MAGIC;
    }