winemac: Don't attempt to set surface for child windows in macdrv_WindowPosChanged().
commitaf54f956bfd4addb956584a0cceea4d990922b03
authorKen Thomases <ken@codeweavers.com>
Wed, 1 Feb 2017 16:12:30 +0000 (1 10:12 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 1 Feb 2017 20:19:39 +0000 (1 21:19 +0100)
tree304fd3a9976a421267498bf541c6f5852347d458
parent733e22d0c12671848a90a2bd5d01eb7213728493
winemac: Don't attempt to set surface for child windows in macdrv_WindowPosChanged().

The skipped code is a no-op for the child window case, except that the call to
set_window_surface() synchronizes with the main thread, even with null arguments.

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