winemac.drv: Allow foregrounding WS_EX_NOACTIVATE windows.
commit4b4ebef412c43705b1af3054daa89aa28edab985
authorTim Clem <tclem@codeweavers.com>
Wed, 19 Jan 2022 19:13:43 +0000 (19 11:13 -0800)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 19 Jan 2022 19:31:33 +0000 (19 20:31 +0100)
tree749285ac9426bbd234f673c77638ee08b49576c7
parentb59335af2afe54bb2684d1b12c8e3606d7449346
winemac.drv: Allow foregrounding WS_EX_NOACTIVATE windows.

The previous behavior denies any attempt to focus such windows, which
is not in line with how they behave on Windows.

Rename the macdrv_window_state no_activate field to no_foreground
so it more accurately reflects its meaning.

Signed-off-by: Tim Clem <tclem@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winemac.drv/cocoa_app.m
dlls/winemac.drv/cocoa_window.h
dlls/winemac.drv/cocoa_window.m
dlls/winemac.drv/macdrv_cocoa.h
dlls/winemac.drv/window.c