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
62793494
Commit
62793494
authored
Feb 15, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unsafe VOUT_SET_FOCUS
parent
394a9e2c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
14 deletions
+0
-14
include/vlc_vout.h
include/vlc_vout.h
+0
-1
modules/gui/wince/video.cpp
modules/gui/wince/video.cpp
+0
-4
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+0
-9
No files found.
include/vlc_vout.h
View file @
62793494
...
...
@@ -704,7 +704,6 @@ enum output_query_e
VOUT_SET_SIZE
,
/* arg1= unsigned int, arg2= unsigned int, res= */
VOUT_SET_STAY_ON_TOP
,
/* arg1= bool res= */
VOUT_REPARENT
,
VOUT_SET_FOCUS
,
/* arg1= bool res= */
VOUT_SET_VIEWPORT
,
/* arg1= view rect, arg2=clip rect, res= */
VOUT_REDRAW_RECT
,
/* arg1= area rect, res= */
};
...
...
modules/gui/wince/video.cpp
View file @
62793494
...
...
@@ -202,13 +202,9 @@ LRESULT VideoWindow::WndProc( HWND hwnd, UINT msg, WPARAM wp, LPARAM lp )
switch
(
msg
)
{
case
WM_KILLFOCUS
:
if
(
p_vout
)
vout_Control
(
p_vout
,
VOUT_SET_FOCUS
,
(
bool
)
false
);
return
TRUE
;
case
WM_SETFOCUS
:
if
(
p_vout
)
vout_Control
(
p_vout
,
VOUT_SET_FOCUS
,
(
bool
)
true
);
return
TRUE
;
default:
...
...
modules/video_output/msw/events.c
View file @
62793494
...
...
@@ -1126,15 +1126,6 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
p_vout
->
p_sys
->
b_on_top_change
=
true
;
return
VLC_SUCCESS
;
#ifdef MODULE_NAME_IS_wingapi
case
VOUT_SET_FOCUS
:
b_bool
=
(
bool
)
va_arg
(
args
,
int
);
p_vout
->
p_sys
->
b_parent_focus
=
b_bool
;
if
(
b_bool
)
GXResume
();
else
if
(
!
p_vout
->
p_sys
->
b_focus
)
GXSuspend
();
return
VLC_SUCCESS
;
#endif
default:
return
VLC_EGENERIC
;
}
...
...
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