mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 04:38:32 +00:00
quartz: Fix result in put_FullScreenMode().
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
parent
6fd8e30c69
commit
1d42cf1274
|
@ -2972,7 +2972,7 @@ static void test_control_delegation(void)
|
|||
ok(val == OAFALSE, "Got fullscreen %lu\n", val);
|
||||
|
||||
hr = IVideoWindow_put_FullScreenMode(window, OAFALSE);
|
||||
todo_wine ok(hr == S_FALSE, "Got hr %#lx.\n", hr);
|
||||
ok(hr == S_FALSE, "Got hr %#lx.\n", hr);
|
||||
|
||||
hr = IFilterGraph2_RemoveFilter(graph, renderer);
|
||||
ok(hr == S_OK, "Got hr %#lx.\n", hr);
|
||||
|
|
|
@ -291,6 +291,9 @@ static HRESULT WINAPI VideoWindow_put_FullScreenMode(IVideoWindow *iface, LONG f
|
|||
|
||||
FIXME("filter %p, fullscreen %ld.\n", filter, fullscreen);
|
||||
|
||||
if (fullscreen == filter->FullScreenMode)
|
||||
return S_FALSE;
|
||||
|
||||
if (fullscreen)
|
||||
{
|
||||
filter->saved_style = GetWindowLongW(window, GWL_STYLE);
|
||||
|
|
Loading…
Reference in a new issue