summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXImage.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-15 21:17:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-15 21:17:36 (GMT)
commit0250f4eaf6c19305f26f4ef4c5809e5c5cefd155 (patch)
tree5f9fb9e2e56655dbc8e6936d41c6e885851abaad /macosx/tkMacOSXImage.c
parent17d96098949972e2aa7fb0ac1978830d2a6e69b0 (diff)
parent8681561d581302e9a8d483bbacf53bce20336336 (diff)
downloadtk-0250f4eaf6c19305f26f4ef4c5809e5c5cefd155.zip
tk-0250f4eaf6c19305f26f4ef4c5809e5c5cefd155.tar.gz
tk-0250f4eaf6c19305f26f4ef4c5809e5c5cefd155.tar.bz2
More updates to Xlib.h, making all 'Display' fields private
Diffstat (limited to 'macosx/tkMacOSXImage.c')
-rw-r--r--macosx/tkMacOSXImage.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/tkMacOSXImage.c b/macosx/tkMacOSXImage.c
index 0b81a5e..36e686c 100644
--- a/macosx/tkMacOSXImage.c
+++ b/macosx/tkMacOSXImage.c
@@ -402,7 +402,7 @@ XCreateImage(
{
XImage *ximage;
- display->request++;
+ LastKnownRequestProcessed(display)++;
ximage = (XImage *)ckalloc(sizeof(XImage));
ximage->height = height;
@@ -507,7 +507,7 @@ TkMacOSXPutImage(
MacDrawable *macDraw = (MacDrawable *)drawable;
int result = Success;
- display->request++;
+ LastKnownRequestProcessed(display)++;
if (!TkMacOSXSetupDrawingContext(drawable, gc, &dc)) {
return BadDrawable;
}
@@ -845,7 +845,7 @@ XCopyArea(
CGImageRef img = NULL;
CGRect bounds, srcRect, dstRect;
- display->request++;
+ LastKnownRequestProcessed(display)++;
if (!width || !height) {
return BadDrawable;
}
@@ -919,7 +919,7 @@ XCopyPlane(
MacDrawable *srcDraw = (MacDrawable *)src;
MacDrawable *dstDraw = (MacDrawable *)dst;
CGRect bounds, srcRect, dstRect;
- display->request++;
+ LastKnownRequestProcessed(display)++;
if (!width || !height) {
/* TkMacOSXDbgMsg("Drawing of empty area requested"); */
return BadDrawable;