summaryrefslogtreecommitdiffstats
path: root/generic/tkTreeCtrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkTreeCtrl.c')
-rw-r--r--generic/tkTreeCtrl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tkTreeCtrl.c b/generic/tkTreeCtrl.c
index 6d0f895..88326ab 100644
--- a/generic/tkTreeCtrl.c
+++ b/generic/tkTreeCtrl.c
@@ -7,7 +7,7 @@
* Copyright (c) 2002-2003 Christian Krone
* Copyright (c) 2003-2005 ActiveState, a division of Sophos
*
- * RCS: @(#) $Id: tkTreeCtrl.c,v 1.56 2005/09/27 04:44:36 hobbs2 Exp $
+ * RCS: @(#) $Id: tkTreeCtrl.c,v 1.57 2005/09/28 03:27:02 hobbs2 Exp $
*/
#include "tkTreeCtrl.h"
@@ -3669,7 +3669,6 @@ LoupeCmd(
int bPerPixel, byPerRow, byPerPixel;
// Gets all the screen info:
- CGDisplayCapture(kCGDirectMainDisplay);
CGDisplayHideCursor(kCGDirectMainDisplay);
bPerPixel = CGDisplayBitsPerPixel(kCGDirectMainDisplay);
byPerRow = CGDisplayBytesPerRow(kCGDirectMainDisplay);
@@ -3720,7 +3719,6 @@ LoupeCmd(
}
}
CGDisplayShowCursor(kCGDirectMainDisplay);
- CGDisplayRelease(kCGDirectMainDisplay);
#else
ximage = XGetImage(display, rootWindow,
grabX, grabY, grabW, grabH, AllPlanes, ZPixmap);