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
ffde9d55
Commit
ffde9d55
authored
Oct 05, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use var_ToggleBool when applicable.
parent
e48f48a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+1
-4
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+1
-3
No files found.
modules/video_output/msw/events.c
View file @
ffde9d55
...
@@ -774,13 +774,10 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
...
@@ -774,13 +774,10 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
{
{
case
IDM_TOGGLE_ON_TOP
:
/* toggle the "on top" status */
case
IDM_TOGGLE_ON_TOP
:
/* toggle the "on top" status */
{
{
vlc_value_t
val
;
msg_Dbg
(
p_vout
,
"WinProc WM_SYSCOMMAND: IDM_TOGGLE_ON_TOP"
);
msg_Dbg
(
p_vout
,
"WinProc WM_SYSCOMMAND: IDM_TOGGLE_ON_TOP"
);
/* Change the current value */
/* Change the current value */
var_Get
(
p_vout
,
"video-on-top"
,
&
val
);
var_ToggleBool
(
p_vout
,
"video-on-top"
);
val
.
b_bool
=
!
val
.
b_bool
;
var_Set
(
p_vout
,
"video-on-top"
,
val
);
return
0
;
return
0
;
}
}
}
}
...
...
modules/video_output/x11/xcommon.c
View file @
ffde9d55
...
@@ -1121,9 +1121,7 @@ static int ManageVideo( vout_thread_t *p_vout )
...
@@ -1121,9 +1121,7 @@ static int ManageVideo( vout_thread_t *p_vout )
val
.
i_int
&=
~
2
;
val
.
i_int
&=
~
2
;
var_Set
(
p_vout
,
"mouse-button-down"
,
val
);
var_Set
(
p_vout
,
"mouse-button-down"
,
val
);
var_Get
(
p_vout
->
p_libvlc
,
"intf-show"
,
&
val
);
var_ToggleBool
(
p_vout
->
p_libvlc
,
"intf-show"
);
val
.
b_bool
=
!
val
.
b_bool
;
var_Set
(
p_vout
->
p_libvlc
,
"intf-show"
,
val
);
}
}
break
;
break
;
...
...
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