summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.decls
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-07-17 19:56:17 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-07-17 19:56:17 (GMT)
commit3b32c45a371ed2aae882f770c71a47e6e196a6dc (patch)
tree34f259df0149bdaad3aaa66fc3fc7e7e0a4d04c9 /generic/tkInt.decls
parent6ec6cf0d78478cb29891c5b96cbaabc605952fbb (diff)
parent63d4fcc37a6c1a0627064685179c8d4ec97a0217 (diff)
downloadtk-3b32c45a371ed2aae882f770c71a47e6e196a6dc.zip
tk-3b32c45a371ed2aae882f770c71a47e6e196a6dc.tar.gz
tk-3b32c45a371ed2aae882f770c71a47e6e196a6dc.tar.bz2
Fix [f9eddb541a]: Improve TkSetRegion(); implement XSetClipRectangles() on Windows and improve it. Thanks to Christopher Chavez.
Diffstat (limited to 'generic/tkInt.decls')
-rw-r--r--generic/tkInt.decls10
1 files changed, 4 insertions, 6 deletions
diff --git a/generic/tkInt.decls b/generic/tkInt.decls
index eabef03..3d04961 100644
--- a/generic/tkInt.decls
+++ b/generic/tkInt.decls
@@ -1339,12 +1339,10 @@ declare 80 win {
Drawable d, GC gc, XImage *image, int src_x, int src_y,
int dest_x, int dest_y, unsigned int width, unsigned int height)
}
-# This slot is reserved for use by the clipping rectangle patch:
-# declare 81 win {
-# XSetClipRectangles(Display *display, GC gc, int clip_x_origin,
-# int clip_y_origin, XRectangle rectangles[], int n, int ordering)
-# }
-
+declare 81 win {
+ int XSetClipRectangles(Display *display, GC gc, int clip_x_origin,
+ int clip_y_origin, XRectangle rectangles[], int n, int ordering)
+}
declare 82 win {
Status XParseColor(Display *display, Colormap map,
_Xconst char *spec, XColor *colorPtr)