user32: Return TRUE from ShowWindow(SW_SHOW) if already visible.
commitd50c310da96565dec98977e96a2d887097a6c1cf
authorRémi Bernon <rbernon@codeweavers.com>
Fri, 11 Sep 2020 09:52:01 +0000 (11 11:52 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 11 Sep 2020 14:55:40 +0000 (11 16:55 +0200)
tree996f454e4ff51cf93819f44a903465537c492944
parent0b56461f35417ea56fbbe32116c49bf22decce9a
user32: Return TRUE from ShowWindow(SW_SHOW) if already visible.

Instead of calling SendMessage, similarly to the SW_HIDE case.

Based on a patch by Kimmo Myllyvirta <kimmo.myllyvirta@gmail.com>.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=39731
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/user32/tests/msg.c
dlls/user32/winpos.c