diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-09-13 20:49:44 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-09-13 20:49:44 (GMT) |
commit | e829dc68c26b7b313b94f777def7bb49c471422b (patch) | |
tree | 04a7b96bfe837ae870d19ef78eec77aed860b817 /xlib/xgc.c | |
parent | 0e809f8dd3305b97598597b825333fc85204a6ef (diff) | |
parent | dbec27a4c7733b44e33ba898fef7e8636e86caa0 (diff) | |
download | tk-e829dc68c26b7b313b94f777def7bb49c471422b.zip tk-e829dc68c26b7b313b94f777def7bb49c471422b.tar.gz tk-e829dc68c26b7b313b94f777def7bb49c471422b.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
@@ -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); |