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
e21af726
Commit
e21af726
authored
Dec 26, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VOUT_WINDOW_SET_ON_TOP -> VOUT_WINDOW_SET_STATE
parent
b20b1a27
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
12 deletions
+12
-12
include/vlc_vout_window.h
include/vlc_vout_window.h
+4
-4
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+1
-1
modules/video_output/drawable.c
modules/video_output/drawable.c
+1
-1
modules/video_output/msw/common.c
modules/video_output/msw/common.c
+1
-1
modules/video_output/msw/common_vo.c
modules/video_output/msw/common_vo.c
+1
-1
modules/video_output/xcb/glx.c
modules/video_output/xcb/glx.c
+1
-1
modules/video_output/xcb/window.c
modules/video_output/xcb/window.c
+1
-1
modules/video_output/xcb/x11.c
modules/video_output/xcb/x11.c
+1
-1
modules/video_output/xcb/xvideo.c
modules/video_output/xcb/xvideo.c
+1
-1
No files found.
include/vlc_vout_window.h
View file @
e21af726
...
...
@@ -49,7 +49,7 @@ enum {
* Control query for vout_window_t
*/
enum
{
VOUT_WINDOW_SET_
ON_TOP
,
/* int b_on_top
*/
VOUT_WINDOW_SET_
STATE
,
/* unsigned state
*/
VOUT_WINDOW_SET_SIZE
,
/* unsigned i_width, unsigned i_height */
VOUT_WINDOW_SET_FULLSCREEN
,
/* int b_fullscreen */
};
...
...
@@ -134,11 +134,11 @@ VLC_EXPORT( void, vout_window_Delete, (vout_window_t *) );
VLC_EXPORT
(
int
,
vout_window_Control
,
(
vout_window_t
*
,
int
query
,
...)
);
/**
* Configure the
"On Top" properties
of a windows.
* Configure the
window management state
of a windows.
*/
static
inline
int
vout_window_Set
OnTop
(
vout_window_t
*
window
,
bool
is_on_top
)
static
inline
int
vout_window_Set
State
(
vout_window_t
*
window
,
unsigned
state
)
{
return
vout_window_Control
(
window
,
VOUT_WINDOW_SET_
ON_TOP
,
is_on_top
);
return
vout_window_Control
(
window
,
VOUT_WINDOW_SET_
STATE
,
state
);
}
/**
...
...
modules/gui/qt4/main_interface.cpp
View file @
e21af726
...
...
@@ -892,7 +892,7 @@ int MainInterface::controlVideo( int i_query, va_list args )
emit
askUpdate
();
return
VLC_EGENERIC
;
}
case
VOUT_WINDOW_SET_
ON_TOP
:
case
VOUT_WINDOW_SET_
STATE
:
{
int
i_arg
=
va_arg
(
args
,
int
);
QApplication
::
postEvent
(
this
,
new
SetVideoOnTopQtEvent
(
i_arg
)
);
...
...
modules/video_output/drawable.c
View file @
e21af726
...
...
@@ -147,7 +147,7 @@ static int Control (vout_window_t *wnd, int query, va_list ap)
switch
(
query
)
{
case
VOUT_WINDOW_SET_SIZE
:
/* not allowed */
case
VOUT_WINDOW_SET_
ON_TOP
:
/* not allowed either, would be ugly */
case
VOUT_WINDOW_SET_
STATE
:
/* not allowed either, would be ugly */
return
VLC_EGENERIC
;
default:
msg_Warn
(
wnd
,
"unsupported control query %d"
,
query
);
...
...
modules/video_output/msw/common.c
View file @
e21af726
...
...
@@ -613,7 +613,7 @@ int CommonControl(vout_display_t *vd, int query, va_list args)
return
VLC_EGENERIC
;
#endif
if
(
sys
->
parent_window
)
{
if
(
vout_window_Set
OnTop
(
sys
->
parent_window
,
is_on_top
))
if
(
vout_window_Set
State
(
sys
->
parent_window
,
is_on_top
))
return
VLC_EGENERIC
;
}
else
{
HMENU
hMenu
=
GetSystemMenu
(
sys
->
hwnd
,
FALSE
);
...
...
modules/video_output/msw/common_vo.c
View file @
e21af726
...
...
@@ -564,7 +564,7 @@ static int vaControlParentWindow( vout_thread_t *p_vout, int i_query,
case
VOUT_SET_STAY_ON_TOP
:
{
const
bool
is_on_top
=
va_arg
(
args
,
int
);
return
vout_window_Set
OnTop
(
p_vout
->
p_sys
->
parent_window
,
is_on_top
);
return
vout_window_Set
State
(
p_vout
->
p_sys
->
parent_window
,
is_on_top
);
}
default:
return
VLC_EGENERIC
;
...
...
modules/video_output/xcb/glx.c
View file @
e21af726
...
...
@@ -471,7 +471,7 @@ static int Control (vout_display_t *vd, int query, va_list ap)
case
VOUT_DISPLAY_CHANGE_ON_TOP
:
{
int
b_on_top
=
(
int
)
va_arg
(
ap
,
int
);
return
vout_window_Set
OnTop
(
sys
->
embed
,
b_on_top
);
return
vout_window_Set
State
(
sys
->
embed
,
b_on_top
);
}
case
VOUT_DISPLAY_CHANGE_DISPLAY_SIZE
:
...
...
modules/video_output/xcb/window.c
View file @
e21af726
...
...
@@ -478,7 +478,7 @@ static int Control (vout_window_t *wnd, int cmd, va_list ap)
break
;
}
case
VOUT_WINDOW_SET_
ON_TOP
:
case
VOUT_WINDOW_SET_
STATE
:
set_wm_state
(
wnd
,
va_arg
(
ap
,
int
),
p_sys
->
wm_state_above
);
break
;
...
...
modules/video_output/xcb/x11.c
View file @
e21af726
...
...
@@ -469,7 +469,7 @@ static int Control (vout_display_t *vd, int query, va_list ap)
case
VOUT_DISPLAY_CHANGE_ON_TOP
:
{
int
b_on_top
=
(
int
)
va_arg
(
ap
,
int
);
return
vout_window_Set
OnTop
(
p_sys
->
embed
,
b_on_top
);
return
vout_window_Set
State
(
p_sys
->
embed
,
b_on_top
);
}
case
VOUT_DISPLAY_CHANGE_ZOOM
:
...
...
modules/video_output/xcb/xvideo.c
View file @
e21af726
...
...
@@ -739,7 +739,7 @@ static int Control (vout_display_t *vd, int query, va_list ap)
case
VOUT_DISPLAY_CHANGE_ON_TOP
:
{
int
on_top
=
(
int
)
va_arg
(
ap
,
int
);
return
vout_window_Set
OnTop
(
p_sys
->
embed
,
on_top
);
return
vout_window_Set
State
(
p_sys
->
embed
,
on_top
);
}
/* Hide the mouse. It will be send when
...
...
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