Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
4a473a3e
Commit
4a473a3e
authored
Nov 25, 2005
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
all: possible fix for screensaver problem
parent
d8e3b7a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/video_output/directx/events.c
modules/video_output/directx/events.c
+1
-1
modules/video_output/wingdi.c
modules/video_output/wingdi.c
+1
-1
No files found.
modules/video_output/directx/events.c
View file @
4a473a3e
...
...
@@ -736,7 +736,7 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
/* Catch the screensaver and the monitor turn-off */
if
(
message
==
WM_SYSCOMMAND
&&
(
wParam
==
SC_SCREENSAVE
||
wParam
==
SC_MONITORPOWER
)
)
(
(
wParam
&
0xFFF0
)
==
SC_SCREENSAVE
||
(
wParam
&
0xFFF0
)
==
SC_MONITORPOWER
)
)
{
//if( p_vout ) msg_Dbg( p_vout, "WinProc WM_SYSCOMMAND screensaver" );
return
0
;
/* this stops them from happening */
...
...
modules/video_output/wingdi.c
View file @
4a473a3e
...
...
@@ -1062,7 +1062,7 @@ static long FAR PASCAL WndProc( HWND hWnd, UINT message,
#ifndef UNDER_CE
/* Catch the screensaver and the monitor turn-off */
if
(
message
==
WM_SYSCOMMAND
&&
(
wParam
==
SC_SCREENSAVE
||
wParam
==
SC_MONITORPOWER
)
)
(
(
wParam
&
0xFFF0
)
==
SC_SCREENSAVE
||
(
wParam
&
0xFFF0
)
==
SC_MONITORPOWER
)
)
{
//if( p_vout ) msg_Dbg( p_vout, "WinProc WM_SYSCOMMAND screensaver" );
return
0
;
/* this stops them from happening */
...
...
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