diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2012-09-13 20:47:03 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2012-09-13 20:47:03 (GMT) |
commit | 010ffd6b49539ce3084d34ed117d329e3e102287 (patch) | |
tree | 8e87eab00435411297e7e09440a4fe70b575b40a /xlib | |
parent | 110f39545b08958b821414b0d795742a27a7c83f (diff) | |
download | tk-010ffd6b49539ce3084d34ed117d329e3e102287.zip tk-010ffd6b49539ce3084d34ed117d329e3e102287.tar.gz tk-010ffd6b49539ce3084d34ed117d329e3e102287.tar.bz2 |
[Bug 3567453]: Clip regions must be cleared with XSetClipMask and not
TkSetRegion on X11.
Diffstat (limited to 'xlib')
-rw-r--r-- | xlib/xgc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -436,7 +436,7 @@ TkSetRegion( TkRegion r) { if (r == None) { - FreeClipMask(gc); + Tcl_Panic("must not pass None to TkSetRegion for compatibility with X11; use XSetClipMask instead"); } else { TkpClipMask *clip_mask = AllocClipMask(gc); |