Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
8f81a4a2
Commit
8f81a4a2
authored
Oct 09, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msw: small code factor
parent
e260f543
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+5
-10
No files found.
modules/video_output/msw/events.c
View file @
8f81a4a2
...
@@ -757,18 +757,13 @@ static int Win32VoutCreateWindow( event_thread_t *p_event )
...
@@ -757,18 +757,13 @@ static int Win32VoutCreateWindow( event_thread_t *p_event )
rect_window
.
right
=
rect_window
.
left
+
p_event
->
width
;
rect_window
.
right
=
rect_window
.
left
+
p_event
->
width
;
rect_window
.
bottom
=
rect_window
.
top
+
p_event
->
height
;
rect_window
.
bottom
=
rect_window
.
top
+
p_event
->
height
;
if
(
var_GetBool
(
vd
,
"video-deco"
)
)
i_style
=
var_GetBool
(
vd
,
"video-deco"
)
{
/* Open with window decoration */
/* Open with window decoration */
AdjustWindowRect
(
&
rect_window
,
WS_OVERLAPPEDWINDOW
|
WS_SIZEBOX
,
0
);
?
WS_OVERLAPPEDWINDOW
|
WS_SIZEBOX
i_style
=
WS_OVERLAPPEDWINDOW
|
WS_SIZEBOX
|
WS_VISIBLE
|
WS_CLIPCHILDREN
;
}
else
{
/* No window decoration */
/* No window decoration */
AdjustWindowRect
(
&
rect_window
,
WS_POPUP
,
0
)
;
:
WS_POPUP
;
i_style
=
WS_POPUP
|
WS_VISIBLE
|
WS_CLIPCHILDREN
;
AdjustWindowRect
(
&
rect_window
,
i_style
,
0
)
;
}
i_style
|=
WS_VISIBLE
|
WS_CLIPCHILDREN
;
if
(
p_event
->
hparent
)
if
(
p_event
->
hparent
)
{
{
...
...
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