From a94be926838946b96a169a4ab532af9d88fe3060 Mon Sep 17 00:00:00 2001 From: Paul Gofman Date: Mon, 25 Mar 2024 16:21:46 -0600 Subject: [PATCH] windows.perception.stub: HACK: Set WS_EX_NOACTIVATE for window in holographicspace_interop_CreateForWindow(). CW-Bug-Id: #23614 --- dlls/windows.perception.stub/Makefile.in | 2 +- dlls/windows.perception.stub/holographicspace.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/windows.perception.stub/Makefile.in b/dlls/windows.perception.stub/Makefile.in index 18c90e697c4..9583b64bb89 100644 --- a/dlls/windows.perception.stub/Makefile.in +++ b/dlls/windows.perception.stub/Makefile.in @@ -1,5 +1,5 @@ MODULE = windows.perception.stub.dll -IMPORTS = combase +IMPORTS = combase user32 SOURCES = \ classes.idl \ diff --git a/dlls/windows.perception.stub/holographicspace.c b/dlls/windows.perception.stub/holographicspace.c index 53e6be0e712..f51be10a9c1 100644 --- a/dlls/windows.perception.stub/holographicspace.c +++ b/dlls/windows.perception.stub/holographicspace.c @@ -208,6 +208,9 @@ static HRESULT WINAPI holographicspace_interop_CreateForWindow( IHolographicSpac { FIXME( "iface %p, window %p, iid %s, holographic_space %p.\n", iface, window, debugstr_guid( iid ), holographic_space ); + FIXME( "HACK: Setting WS_EX_NOACTIVATE for %p.\n", window ); + SetWindowLongW( window, GWL_EXSTYLE, WS_EX_NOACTIVATE ); + *holographic_space = NULL; return E_NOTIMPL; }