diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-09-13 20:47:03 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-09-13 20:47:03 (GMT) |
commit | c9097c70173e25b097adfd1b44b2d2ab360ab1be (patch) | |
tree | 8e87eab00435411297e7e09440a4fe70b575b40a /xlib/xgc.c | |
parent | 37c4f3993537fe91e0235787bf0a8fcbc15dc44c (diff) | |
download | tk-c9097c70173e25b097adfd1b44b2d2ab360ab1be.zip tk-c9097c70173e25b097adfd1b44b2d2ab360ab1be.tar.gz tk-c9097c70173e25b097adfd1b44b2d2ab360ab1be.tar.bz2 |
[Bug 3567453]: Clip regions must be cleared with XSetClipMask and not
TkSetRegion on X11.
Diffstat (limited to 'xlib/xgc.c')
-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); |