Re: NSWindow setIgnoresMouseEvents and Spaces
Re: NSWindow setIgnoresMouseEvents and Spaces
- Subject: Re: NSWindow setIgnoresMouseEvents and Spaces
- From: Gregory Weston <email@hidden>
- Date: Thu, 26 Jun 2008 08:57:27 -0400
On Jun 26, 2008, at 6:44 AM, email@hidden wrote:
This NSWindow contains only and NSView where I draw the gradient
mentioned before.
Anyone can suggest a workaround to make this work?
You can try with an higher window level.
[result setLevel:CGWindowLevelForKey(kCGOverlayWindowLevelKey)];
Thanks for the tip, but it doesn't do the trick. I'm stating to think
it might be a spaces bug.
It is; one of several reproducible misbehaviors Spaces has with
regard to windows that appear above the "normal" level. Worse is that
I expect you'll find if you query the window via ignoresMouseEvents
you'll find that it claims to still be ignoring the mouse. The only
workaround I found was to periodically send a
setIgnoresMouseEvents:YES to it. I *think* 10.5.3 improved the
situation a little bit, but I haven't had a chance to verify yet.
_______________________________________________
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