user32: Don't check active window state when handling SC_MINIMIZE/SC_MAXIMIZE/SC_RESTORE.
commit51d606faac8313f1231d921da8868af29dc38a2b
authorDmitry Timoshkov <dmitry@baikal.ru>
Wed, 13 Oct 2021 10:26:43 +0000 (13 13:26 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 18 Oct 2021 15:06:45 +0000 (18 17:06 +0200)
tree32d9a922dcb566eac07d25a7db8217ec1b45eb09
parentb440573d2a9228495a4814ccba0483e05bab14e6
user32: Don't check active window state when handling SC_MINIMIZE/SC_MAXIMIZE/SC_RESTORE.

An application I'm working on routes messages to a worker thread, and checking
for an active window while processing WM_SYSCOMMAND in that thread breaks things.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/user32/nonclient.c