Re: Window position updates on demand?
Re: Window position updates on demand?
- Subject: Re: Window position updates on demand?
- From: Steve Mills <email@hidden>
- Date: Thu, 17 Dec 2015 19:45:28 -0600
> On Dec 17, 2015, at 18:32, Cem Karan <email@hidden> wrote:
>
> All that works, but the problem is that I'm not getting window positions quickly enough; as long as a window is being dragged, it won't send out a notification about its position, which means all the windows get out of sync with one another. This is annoying. I traced it down to the OS X code by logging where the windows thought they were, so I know it really is Cocoa and not GLFW. I tried polling the position of the window, but that doesn't work (the polling is happening, but it prints the same position continuously until dragging stops). So, how do I get the window to update where it actually, truly is at the moment I ask it?
We had to handle all window dragging ourselves just to do snapping of palettes. I'd have too look at code to say any moreāit was quite a while ago.
Steve via iPad
_______________________________________________
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