winemac: Don't set a view's frame if the backend's value hasn't changed.
commit2a28e4d843ec5302f53a3168061fdf2ca30eb076
authorKen Thomases <ken@codeweavers.com>
Wed, 1 Feb 2017 16:12:31 +0000 (1 10:12 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 1 Feb 2017 20:19:39 +0000 (1 21:19 +0100)
tree8f59fe472c0fc0795fade685ef3ce98e48e455ea
parentaf54f956bfd4addb956584a0cceea4d990922b03
winemac: Don't set a view's frame if the backend's value hasn't changed.

With windows, the Cocoa main thread may have changed the frame and messages to
that effect may be in the queue, so it can be important to reassert the
"current" value and discard those messages.  With views, by contrast, Cocoa
will never change the frame on its own and there are no messages to discard.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winemac.drv/window.c