Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f3194f74
Commit
f3194f74
authored
Sep 25, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/video_output/directx/*: fix for spurious taskbar item after switching to fullscreen.
parent
a3f05150
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
modules/video_output/directx/directx.c
modules/video_output/directx/directx.c
+8
-0
modules/video_output/directx/events.c
modules/video_output/directx/events.c
+8
-4
No files found.
modules/video_output/directx/directx.c
View file @
f3194f74
...
...
@@ -599,6 +599,14 @@ static int Manage( vout_thread_t *p_vout )
SetWindowPos
(
p_vout
->
p_sys
->
hwnd
,
0
,
0
,
0
,
0
,
0
,
SWP_NOMOVE
|
SWP_NOSIZE
|
SWP_NOZORDER
|
SWP_FRAMECHANGED
);
if
(
p_vout
->
p_sys
->
hparent
)
{
ShowWindow
(
p_vout
->
p_sys
->
hwnd
,
SW_HIDE
);
SetWindowLong
(
p_vout
->
p_sys
->
hwnd
,
GWL_EXSTYLE
,
p_vout
->
b_fullscreen
?
0
:
WS_EX_TOOLWINDOW
);
ShowWindow
(
p_vout
->
p_sys
->
hwnd
,
SW_SHOW
);
}
/* Update the object variable and trigger callback */
val
.
b_bool
=
p_vout
->
b_fullscreen
;
var_Set
(
p_vout
,
"fullscreen"
,
val
);
...
...
modules/video_output/directx/events.c
View file @
f3194f74
...
...
@@ -361,7 +361,7 @@ static int DirectXCreateWindow( vout_thread_t *p_vout )
WNDCLASSEX
wc
;
/* window class components */
HICON
vlc_icon
=
NULL
;
char
vlc_path
[
MAX_PATH
+
1
];
int
i_style
;
int
i_style
,
i_stylex
;
msg_Dbg
(
p_vout
,
"DirectXCreateWindow"
);
...
...
@@ -440,14 +440,18 @@ static int DirectXCreateWindow( vout_thread_t *p_vout )
rect_window
.
bottom
=
rect_window
.
top
+
p_vout
->
p_sys
->
i_window_height
;
AdjustWindowRect
(
&
rect_window
,
WS_OVERLAPPEDWINDOW
|
WS_SIZEBOX
,
0
);
i_style
=
WS_OVERLAPPEDWINDOW
|
WS_SIZEBOX
|
WS_VISIBLE
|
WS_CLIPCHILDREN
;
i_stylex
=
0
;
if
(
p_vout
->
p_sys
->
hparent
)
{
i_style
=
WS_VISIBLE
|
WS_CLIPCHILDREN
|
WS_CHILD
;
else
i_style
=
WS_OVERLAPPEDWINDOW
|
WS_SIZEBOX
|
WS_VISIBLE
|
WS_CLIPCHILDREN
;
i_stylex
=
WS_EX_TOOLWINDOW
;
}
/* Create the window */
p_vout
->
p_sys
->
hwnd
=
CreateWindowEx
(
WS_EX_NOPARENTNOTIFY
,
CreateWindowEx
(
WS_EX_NOPARENTNOTIFY
|
i_stylex
,
"VLC DirectX"
,
/* name of window class */
VOUT_TITLE
" (DirectX Output)"
,
/* window title bar text */
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