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
e260f543
Commit
e260f543
authored
Oct 09, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msw: remove nul constant
parent
fb255910
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+2
-6
No files found.
modules/video_output/msw/events.c
View file @
e260f543
...
...
@@ -674,7 +674,7 @@ static int Win32VoutCreateWindow( event_thread_t *p_event )
RECT
rect_window
;
WNDCLASS
wc
;
/* window class components */
TCHAR
vlc_path
[
MAX_PATH
+
1
];
int
i_style
,
i_stylex
;
int
i_style
;
msg_Dbg
(
vd
,
"Win32VoutCreateWindow"
);
...
...
@@ -762,21 +762,17 @@ static int Win32VoutCreateWindow( event_thread_t *p_event )
/* Open with window decoration */
AdjustWindowRect
(
&
rect_window
,
WS_OVERLAPPEDWINDOW
|
WS_SIZEBOX
,
0
);
i_style
=
WS_OVERLAPPEDWINDOW
|
WS_SIZEBOX
|
WS_VISIBLE
|
WS_CLIPCHILDREN
;
i_stylex
=
0
;
}
else
{
/* No window decoration */
AdjustWindowRect
(
&
rect_window
,
WS_POPUP
,
0
);
i_style
=
WS_POPUP
|
WS_VISIBLE
|
WS_CLIPCHILDREN
;
i_stylex
=
0
;
// WS_EX_TOOLWINDOW; Is TOOLWINDOW really needed ?
// It messes up the fullscreen window.
}
if
(
p_event
->
hparent
)
{
i_style
=
WS_VISIBLE
|
WS_CLIPCHILDREN
|
WS_CHILD
;
i_stylex
=
0
;
/* allow user to regain control over input events if requested */
bool
b_mouse_support
=
var_InheritBool
(
vd
,
"mouse-events"
);
...
...
@@ -789,7 +785,7 @@ static int Win32VoutCreateWindow( event_thread_t *p_event )
/* Create the window */
p_event
->
hwnd
=
CreateWindowEx
(
WS_EX_NOPARENTNOTIFY
|
i_stylex
,
CreateWindowEx
(
WS_EX_NOPARENTNOTIFY
,
p_event
->
class_main
,
/* name of window class */
_T
(
VOUT_TITLE
)
_T
(
" (VLC Video Output)"
),
/* window title */
i_style
,
/* window style */
...
...
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