Disable Expose didn't work in leopard
Disable Expose didn't work in leopard
- Subject: Disable Expose didn't work in leopard
- From: "john chen" <email@hidden>
- Date: Wed, 13 Feb 2008 23:27:25 -0600
For some reason, the question I posted this afternoon didn't get to the
list. So I posted it again.
I just noticed that the code to disable Expose didn't work in leopard. In my
application, I used the code in the link below:
http://www.cocoabuilder.com/archive/message/2004/2/12/96974
- (OSStatus)setSticky:(BOOL)flag
{
CGSConnection cid;
CGSWindow wid;
int tags[2];
wid = [[self window] windowNumber];
cid = _CGSDefaultConnection();
if (!CGSGetWindowTags(cid, wid, tags, 32)) {
tags[0] = 0x0800;
tags[1] = 0;
if (flag)
return CGSSetWindowTags(cid, wid, tags, 32);
else
return CGSClearWindowTags(cid, wid, tags, 32);
}
}
I then run the same application in both tiger and leopard. In tiger, it
works perfect, but not in leopard.
Someone also mentioned "This hack seems to not work anymore on 10.5 Leopard."
in the link http://www.cocoadev.com/index.pl?DontExposeMe
Any one has a clue ?
Thanks in advance,
John
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden