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
166db1e9
Commit
166db1e9
authored
Feb 19, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Use a more appropriate size for the video renderer window.
parent
44525598
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
videorenderer.c
dlls/quartz/videorenderer.c
+5
-0
No files found.
dlls/quartz/videorenderer.c
View file @
166db1e9
...
@@ -298,9 +298,14 @@ static DWORD VideoRenderer_SendSampleData(VideoRendererImpl* This, LPBYTE data,
...
@@ -298,9 +298,14 @@ static DWORD VideoRenderer_SendSampleData(VideoRendererImpl* This, LPBYTE data,
if
(
!
This
->
init
)
if
(
!
This
->
init
)
{
{
DWORD
style
=
GetWindowLongW
(
This
->
hWnd
,
GWL_STYLE
);
DWORD
style_ex
=
GetWindowLongW
(
This
->
hWnd
,
GWL_EXSTYLE
);
if
(
!
This
->
WindowPos
.
right
||
!
This
->
WindowPos
.
bottom
)
if
(
!
This
->
WindowPos
.
right
||
!
This
->
WindowPos
.
bottom
)
This
->
WindowPos
=
This
->
SourceRect
;
This
->
WindowPos
=
This
->
SourceRect
;
AdjustWindowRectEx
(
&
This
->
WindowPos
,
style
,
TRUE
,
style_ex
);
TRACE
(
"WindowPos: %d %d %d %d
\n
"
,
This
->
WindowPos
.
left
,
This
->
WindowPos
.
top
,
This
->
WindowPos
.
right
,
This
->
WindowPos
.
bottom
);
TRACE
(
"WindowPos: %d %d %d %d
\n
"
,
This
->
WindowPos
.
left
,
This
->
WindowPos
.
top
,
This
->
WindowPos
.
right
,
This
->
WindowPos
.
bottom
);
SetWindowPos
(
This
->
hWnd
,
NULL
,
SetWindowPos
(
This
->
hWnd
,
NULL
,
This
->
WindowPos
.
left
,
This
->
WindowPos
.
left
,
...
...
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