• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Window position updates on demand?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Window position updates on demand? (From: Cem Karan <email@hidden>)

  • Prev by Date: Re: Window position updates on demand?
  • Next by Date: Re: Window position updates on demand?
  • Previous by thread: Re: Window position updates on demand?
  • Next by thread: Re: Window position updates on demand?
  • Index(es):
    • Date
    • Thread