diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-11-15 07:29:15 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-11-15 07:29:15 (GMT) |
commit | f04bc88816f8493150db95a893ce05a5a53bd9b9 (patch) | |
tree | 2f7de1e2c7b27e9be17c0b352c57daae546dad1c /generic | |
parent | 54343577e9d09179ecf58eb62c0fcdad5f5c4f1a (diff) | |
download | tk-f04bc88816f8493150db95a893ce05a5a53bd9b9.zip tk-f04bc88816f8493150db95a893ce05a5a53bd9b9.tar.gz tk-f04bc88816f8493150db95a893ce05a5a53bd9b9.tar.bz2 |
More Xlib.h macro usage
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkPointer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkPointer.c b/generic/tkPointer.c index 2fea8d8..2fbdedf 100644 --- a/generic/tkPointer.c +++ b/generic/tkPointer.c @@ -434,7 +434,7 @@ XGrabPointer( (void)cursor; (void)time; - display->request++; + LastKnownRequestProcessed(display)++; tsdPtr->grabWinPtr = (TkWindow *) Tk_IdToWindow(display, grab_window); tsdPtr->restrictWinPtr = NULL; TkpSetCapture(tsdPtr->grabWinPtr); @@ -470,7 +470,7 @@ XUngrabPointer( Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData)); (void)time; - display->request++; + LastKnownRequestProcessed(display)++; tsdPtr->grabWinPtr = NULL; tsdPtr->restrictWinPtr = NULL; TkpSetCapture(NULL); @@ -598,7 +598,7 @@ XDefineCursor( if (tsdPtr->cursorWinPtr == winPtr) { UpdateCursor(winPtr); } - display->request++; + LastKnownRequestProcessed(display)++; return Success; } |