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
2ee36547
Commit
2ee36547
authored
Dec 27, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MSW vout: fix compilation since [
76e8da0f
] change
parent
20abd0db
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
modules/video_output/msw/direct3d.c
modules/video_output/msw/direct3d.c
+2
-2
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+2
-1
No files found.
modules/video_output/msw/direct3d.c
View file @
2ee36547
...
...
@@ -350,13 +350,13 @@ static int ControlReopenDevice(vout_display_t *vd)
if
(
sys
->
desktop_save
.
is_fullscreen
)
vout_display_SendEventFullscreen
(
vd
,
false
);
if
(
sys
->
desktop_save
.
is_on_top
)
vout_display_Send
EventOnTop
(
vd
,
false
);
vout_display_Send
WindowState
(
vd
,
VOUT_WINDOW_STATE_NORMAL
);
}
else
{
/* Restore fullscreen/on_top */
if
(
sys
->
desktop_save
.
is_fullscreen
)
vout_display_SendEventFullscreen
(
vd
,
true
);
if
(
sys
->
desktop_save
.
is_on_top
)
vout_display_Send
EventOnTop
(
vd
,
true
);
vout_display_Send
WindowState
(
vd
,
VOUT_WINDOW_STATE_ABOVE
);
}
return
VLC_SUCCESS
;
}
...
...
modules/video_output/msw/events.c
View file @
2ee36547
...
...
@@ -749,7 +749,8 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
{
msg_Dbg
(
vd
,
"WinProc WM_SYSCOMMAND: IDM_TOGGLE_ON_TOP"
);
HMENU
hMenu
=
GetSystemMenu
(
vd
->
sys
->
hwnd
,
FALSE
);
vout_display_SendEventOnTop
(
vd
,
(
GetMenuState
(
hMenu
,
IDM_TOGGLE_ON_TOP
,
MF_BYCOMMAND
)
&
MF_CHECKED
)
==
0
);
vout_display_SendWindowState
(
vd
,
(
GetMenuState
(
hMenu
,
IDM_TOGGLE_ON_TOP
,
MF_BYCOMMAND
)
&
MF_CHECKED
)
?
VOUT_WINDOW_STATE_NORMAL
:
VOUT_WINDOW_STATE_ABOVE
);
return
0
;
}
default:
...
...
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