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
36558eb5
Commit
36558eb5
authored
Dec 26, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass full window state to window providers
parent
2c077cc0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
7 deletions
+4
-7
modules/video_output/msw/common.c
modules/video_output/msw/common.c
+1
-1
modules/video_output/xcb/glx.c
modules/video_output/xcb/glx.c
+1
-2
modules/video_output/xcb/x11.c
modules/video_output/xcb/x11.c
+1
-2
modules/video_output/xcb/xvideo.c
modules/video_output/xcb/xvideo.c
+1
-2
No files found.
modules/video_output/msw/common.c
View file @
36558eb5
...
...
@@ -614,7 +614,7 @@ int CommonControl(vout_display_t *vd, int query, va_list args)
return
VLC_EGENERIC
;
#endif
if
(
sys
->
parent_window
)
{
if
(
vout_window_SetState
(
sys
->
parent_window
,
is_on_top
))
if
(
vout_window_SetState
(
sys
->
parent_window
,
state
))
return
VLC_EGENERIC
;
}
else
{
HMENU
hMenu
=
GetSystemMenu
(
sys
->
hwnd
,
FALSE
);
...
...
modules/video_output/xcb/glx.c
View file @
36558eb5
...
...
@@ -471,8 +471,7 @@ static int Control (vout_display_t *vd, int query, va_list ap)
case
VOUT_DISPLAY_CHANGE_WINDOW_STATE
:
{
unsigned
state
=
va_arg
(
ap
,
unsigned
);
bool
b_on_top
=
(
state
&
VOUT_WINDOW_STATE_ABOVE
)
!=
0
;
return
vout_window_SetState
(
sys
->
embed
,
b_on_top
);
return
vout_window_SetState
(
sys
->
embed
,
state
);
}
case
VOUT_DISPLAY_CHANGE_DISPLAY_SIZE
:
...
...
modules/video_output/xcb/x11.c
View file @
36558eb5
...
...
@@ -469,8 +469,7 @@ static int Control (vout_display_t *vd, int query, va_list ap)
case
VOUT_DISPLAY_CHANGE_WINDOW_STATE
:
{
unsigned
state
=
va_arg
(
ap
,
unsigned
);
bool
b_on_top
=
(
state
&
VOUT_WINDOW_STATE_ABOVE
)
!=
0
;
return
vout_window_SetState
(
p_sys
->
embed
,
b_on_top
);
return
vout_window_SetState
(
p_sys
->
embed
,
state
);
}
case
VOUT_DISPLAY_CHANGE_ZOOM
:
...
...
modules/video_output/xcb/xvideo.c
View file @
36558eb5
...
...
@@ -739,8 +739,7 @@ static int Control (vout_display_t *vd, int query, va_list ap)
case
VOUT_DISPLAY_CHANGE_WINDOW_STATE
:
{
unsigned
state
=
va_arg
(
ap
,
unsigned
);
bool
b_on_top
=
(
state
&
VOUT_WINDOW_STATE_ABOVE
)
!=
0
;
return
vout_window_SetState
(
p_sys
->
embed
,
b_on_top
);
return
vout_window_SetState
(
p_sys
->
embed
,
state
);
}
/* 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