diff options
author | culler <culler> | 2024-06-22 19:13:38 (GMT) |
---|---|---|
committer | culler <culler> | 2024-06-22 19:13:38 (GMT) |
commit | d5e7bdcdc2200b4a3a52846c1ab19dd0232dc7a3 (patch) | |
tree | f2e510881de2bc2b02838f5aca9ca3965efbf6e9 /generic/tkFrame.c | |
parent | fc4199e50686faf5dd37455e4a9313b137707f82 (diff) | |
download | tk-d5e7bdcdc2200b4a3a52846c1ab19dd0232dc7a3.zip tk-d5e7bdcdc2200b4a3a52846c1ab19dd0232dc7a3.tar.gz tk-d5e7bdcdc2200b4a3a52846c1ab19dd0232dc7a3.tar.bz2 |
Try to ensure that clipping regions are ready before filling a frame; clean up unixWm.test
Diffstat (limited to 'generic/tkFrame.c')
-rw-r--r-- | generic/tkFrame.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tkFrame.c b/generic/tkFrame.c index 32f89f2..c0d45e8 100644 --- a/generic/tkFrame.c +++ b/generic/tkFrame.c @@ -1474,6 +1474,8 @@ DisplayFrame( Tk_Width(tkwin), Tk_Height(tkwin), Tk_Depth(tkwin)); #else pixmap = Tk_WindowId(tkwin); + Tk_ClipDrawableToRect(Tk_Display(tkwin), pixmap, 0, 0, + Tk_Width(tkwin), Tk_Height(tkwin)); #endif /* TK_NO_DOUBLE_BUFFERING */ if (framePtr->type != TYPE_LABELFRAME) { |