OK, I got this working - thanks for all the help.

There is a follow-up issue though. On 10.11 (others not yet tried), the drawing 
only appears on the main screen. When I make my transparent window, I size it 
to the union of all NSScreens, thinking that would cover the entire desktop no 
matter how many screens I have. Obviously, I need to do more to make this work 
across multiple monitors, but I’m not sure what. This has always worked in the 
(distant) past, but probably the changes to screen behaviour from 10.9 has 
nixed that.

What shoudl I be looking for to make an overlay window that will work across 
any number of screens, and also back to the older OS versions? (10.7 at least).

—Graham







> On 16 Jan 2016, at 5:19 PM, Graham Cox <graham....@bigpond.com> wrote:
> 
> In fact this is now 90% working, it’s just the refresh that’s out of kilter, 
> which is no surprise since the CTM is only modified when drawing. I think I’m 
> close….


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to