Sweden-Number/dlls/user32/tests
Stefan Dösinger ccf430eb52 user32: Silently ignore temporary foreground loss.
The basic problem is this: Thread A has a window W1 that is it's focus
window and the system-global foreground window. At some point thread A
stops processing messages. After that, thread B creates a window W2
and makes it the foreground window. Thread B later on makes W1 (from
Thread A) the foreground window again. After restoring W1 as the
foreground window, Thread A processes window messages again. Two
WM_WINE_SETACTIVEWINDOW messages are in the queue, one for losing the
foreground thread propery and one for restoring it. The first one will
generates a WM_ACTIVATEAPP(0) message, which causes D3D to minimize
the game window.

The included test shows that Windows doesn't deliver any
WM_ACTIVATEAPP messages if the thread stopped being the foreground
thread and re-gained that property between two message processing
calls. It isn't implemented with a plain WM_ACTIVATEAPP filter, the
manually injected message in the test still gets through.

Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-01 22:53:53 +09:00
..
Makefile.in
broadcast.c
class.c user32: Do not return the class icon when ICON_SMALL2 is requested. 2015-05-14 00:06:57 +09:00
clipboard.c user32/tests: Add tests for SetClipboardData from a different thread. 2015-06-10 19:01:07 +09:00
combo.c
cursoricon.c user32: Test GetIconInfo on other process cursor. 2015-07-30 23:48:39 +02:00
dce.c user32/tests: Test that CS_PARENTDC enables child window to draw over whole parent window. 2015-02-13 21:46:29 +09:00
dde.c user32/tests: Remove an unused assignment (PVS-Studio). 2015-01-22 12:04:16 +01:00
dialog.c user32: Only use DIALOGINFO->hwndFocus to store last focus of inactive windows. 2015-02-06 00:28:34 +09:00
edit.c user32: Ignore lParam argument of WM_SIZE message for edit control. 2015-10-06 22:18:49 +09:00
generated.c
input.c server: Add fallback to desktop keystate in get_key_state wineserver call. 2015-07-10 15:07:45 +09:00
listbox.c user32: Hide horizontal Listbox scroll bar if no horizontal extent is set. 2015-10-07 21:28:55 +09:00
menu.c user32/tests: Allow tracing in menu tests. 2015-10-02 18:11:31 +09:00
monitor.c user32: Added a GetDisplayConfigBufferSizes stub. 2015-10-26 16:16:54 +09:00
msg.c user32/tests: Add ARM and ARM64 arch strings. 2015-08-12 22:52:28 +09:00
resource.c
resource.rc
scroll.c
static.c user32/static: Allow setting NULL text. 2015-03-23 16:38:09 +09:00
sysparams.c user32: SystemParametersInfo(SPI_GETNONCLIENTMETRICS) should return real font names. 2015-07-17 19:29:20 +09:00
test_mono.bmp
text.c
uitools.c
win.c user32: Silently ignore temporary foreground loss. 2015-11-01 22:53:53 +09:00
winstation.c user32/tests: Update some todos for changed test failure behavior. 2015-05-07 22:29:21 +09:00
wsprintf.c