diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-01-24 17:52:28 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-01-24 17:52:28 (GMT) |
commit | c2be49b91526d041d522ab938593e660cd8aec4e (patch) | |
tree | ae456ff6afc1b185f6f62ea5975d504e3525a758 /tk8.6 | |
parent | 85f35563f421bec185616b13375e67d4f5403af3 (diff) | |
download | blt-c2be49b91526d041d522ab938593e660cd8aec4e.zip blt-c2be49b91526d041d522ab938593e660cd8aec4e.tar.gz blt-c2be49b91526d041d522ab938593e660cd8aec4e.tar.bz2 |
enable screen capture
Diffstat (limited to 'tk8.6')
-rw-r--r-- | tk8.6/macosx/tkMacOSXDraw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tk8.6/macosx/tkMacOSXDraw.c b/tk8.6/macosx/tkMacOSXDraw.c index 984e2e5..3c2c802 100644 --- a/tk8.6/macosx/tkMacOSXDraw.c +++ b/tk8.6/macosx/tkMacOSXDraw.c @@ -192,7 +192,7 @@ TkMacOSXBitmapRepFromDrawableRect( * display and return NULL. */ - if (view == [NSView focusView]) { + if (view == [NSView focusView] || 1) { bitmap_rep = [view bitmapImageRepForCachingDisplayInRect: view_rect]; [bitmap_rep retain]; [view cacheDisplayInRect:view_rect toBitmapImageRep:bitmap_rep]; |