diff options
author | dkf <dkf@noemail.net> | 2012-09-13 20:49:44 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2012-09-13 20:49:44 (GMT) |
commit | b937b5b53484220ab8564ecc91d1793d820f4839 (patch) | |
tree | 04a7b96bfe837ae870d19ef78eec77aed860b817 /xlib/xgc.c | |
parent | 0e12a0e2c06ab80faf5ff353ddb209fa354651b9 (diff) | |
parent | 587b38d3f868f51936cde286a36435b5bf0567fa (diff) | |
download | tk-b937b5b53484220ab8564ecc91d1793d820f4839.zip tk-b937b5b53484220ab8564ecc91d1793d820f4839.tar.gz tk-b937b5b53484220ab8564ecc91d1793d820f4839.tar.bz2 |
[Bug 3567453]: Clip regions must be cleared with XSetClipMask and not
TkSetRegion on X11.
FossilOrigin-Name: 39af97604b0368ed555b7f6954baa81c0de2d3da
Diffstat (limited to 'xlib/xgc.c')
-rw-r--r-- | xlib/xgc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -465,7 +465,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); |