Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
937e8985
Commit
937e8985
authored
May 10, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not touch the always-on-top when going fullscreen
It needs to be done by the GUI only
parent
d9752f14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
14 deletions
+1
-14
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+0
-4
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+1
-10
No files found.
modules/video_output/msw/events.c
View file @
937e8985
...
...
@@ -1241,8 +1241,4 @@ void Win32ToggleFullscreen( vout_thread_t *p_vout )
/* Update the object variable and trigger callback */
val
.
b_bool
=
p_vout
->
b_fullscreen
;
var_Set
(
p_vout
,
"fullscreen"
,
val
);
/* Disable video-on-top while in fullscreen mode */
if
(
var_GetBool
(
p_vout
,
"video-on-top"
)
)
ControlParentWindow
(
p_vout
,
VOUT_SET_STAY_ON_TOP
,
!
val
.
b_bool
);
}
modules/video_output/x11/xcommon.c
View file @
937e8985
...
...
@@ -1493,17 +1493,8 @@ static int ManageVideo( vout_thread_t *p_vout )
*/
if
(
p_vout
->
i_changes
&
VOUT_FULLSCREEN_CHANGE
)
{
vlc_value_t
val_fs
,
val_ontop
;
/* Update the object variable and trigger callback */
val_fs
.
b_bool
=
!
p_vout
->
b_fullscreen
;
var_Set
(
p_vout
,
"fullscreen"
,
val_fs
);
/* Disable "always on top" in fullscreen mode */
var_Get
(
p_vout
,
"video-on-top"
,
&
val_ontop
);
if
(
val_ontop
.
b_bool
)
WindowOnTop
(
p_vout
,
!
val_fs
.
b_bool
);
var_SetBool
(
p_vout
,
"fullscreen"
,
!
p_vout
->
b_fullscreen
);
ToggleFullScreen
(
p_vout
);
p_vout
->
i_changes
&=
~
VOUT_FULLSCREEN_CHANGE
;
...
...
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