Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
04dc2812
Commit
04dc2812
authored
Aug 18, 2022
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Aug 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciqtz32: Don't stretch video destination for a popup or child window.
parent
e28c2caa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
mciqtz.c
dlls/mciqtz32/mciqtz.c
+5
-0
mci.c
dlls/winmm/tests/mci.c
+0
-1
No files found.
dlls/mciqtz32/mciqtz.c
View file @
04dc2812
...
...
@@ -211,9 +211,14 @@ static bool create_window(WINE_MCIQTZ *wma, DWORD flags, const MCI_DGV_OPEN_PARM
IVideoWindow_put_Owner
(
wma
->
vidwin
,
(
OAHWND
)
wma
->
window
);
IVideoWindow_put_WindowStyle
(
wma
->
vidwin
,
WS_CHILD
);
/* reset window style */
if
(
style
&
(
WS_POPUP
|
WS_CHILD
))
IBasicVideo_GetVideoSize
(
wma
->
vidbasic
,
&
width
,
&
height
);
else
{
GetClientRect
(
wma
->
window
,
&
rc
);
width
=
rc
.
right
;
height
=
rc
.
bottom
;
}
IVideoWindow_SetWindowPosition
(
wma
->
vidwin
,
0
,
0
,
width
,
height
);
IVideoWindow_put_Visible
(
wma
->
vidwin
,
OATRUE
);
...
...
dlls/winmm/tests/mci.c
View file @
04dc2812
...
...
@@ -1603,7 +1603,6 @@ static void test_video_window(void)
* in particular if the video width is less than SM_CXMIN. */
GetClientRect
(
video_window
,
&
rc
);
todo_wine_if
(
style
&
(
WS_POPUP
|
WS_CHILD
))
ok
(
EqualRect
(
&
parm
.
where
.
rc
,
&
rc
),
"Got destination rect %s, expected %s.
\n
"
,
wine_dbgstr_rect
(
&
parm
.
where
.
rc
),
wine_dbgstr_rect
(
&
rc
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment