Skip to content

Commit

Permalink
Fix [18e9840f84]: Assignment of invalid symbolic constant NotifyNormal
Browse files Browse the repository at this point in the history
  • Loading branch information
fvogelnew1 committed Sep 19, 2024
2 parents 5f2f4da + 116741c commit 38c4c8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generic/tkPointer.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ GenerateEnterLeave(
*/

InitializeEvent(&event, targetPtr, LeaveNotify, x, y, state,
NotifyNormal);
NotifyAncestor);

TkInOutEvents(&event, lastWinPtr, winPtr, LeaveNotify,
EnterNotify, TCL_QUEUE_TAIL);
Expand Down Expand Up @@ -386,7 +386,7 @@ Tk_UpdatePointer(

if (targetWinPtr != NULL) {
InitializeEvent(&event, targetWinPtr, MotionNotify, x, y,
tsdPtr->lastState, NotifyNormal);
tsdPtr->lastState, NotifyAncestor);
Tk_QueueWindowEvent(&event, TCL_QUEUE_TAIL);
}
tsdPtr->lastPos = pos;
Expand Down

0 comments on commit 38c4c8b

Please sign in to comment.