Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
be4ffc8b
Commit
be4ffc8b
authored
Mar 17, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sdl: simplifications.
parent
0eeed6e9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
modules/video_output/sdl.c
modules/video_output/sdl.c
+3
-9
No files found.
modules/video_output/sdl.c
View file @
be4ffc8b
...
...
@@ -408,9 +408,7 @@ static int Manage( vout_thread_t *p_vout )
val
.
i_int
=
p_vout
->
fmt_in
.
i_visible_height
;
var_Set
(
p_vout
,
"mouse-y"
,
val
);
val
.
b_bool
=
true
;
var_Set
(
p_vout
,
"mouse-moved"
,
val
);
var_SetBool
(
p_vout
,
"mouse-moved"
,
true
);
if
(
p_vout
->
p_sys
->
b_cursor
)
{
...
...
@@ -437,9 +435,7 @@ static int Manage( vout_thread_t *p_vout )
var_Set
(
p_vout
,
"mouse-button-down"
,
val
);
var_SetBool
(
p_vout
,
"mouse-clicked"
,
true
);
val
.
b_bool
=
false
;
var_Set
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
val
);
var_SetBool
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
false
);
}
break
;
...
...
@@ -449,7 +445,6 @@ static int Manage( vout_thread_t *p_vout )
val
.
i_int
&=
~
2
;
var_Set
(
p_vout
,
"mouse-button-down"
,
val
);
vlc_value_t
val
;
var_Get
(
p_vout
->
p_libvlc
,
"intf-show"
,
&
val
);
val
.
b_bool
=
!
val
.
b_bool
;
var_Set
(
p_vout
->
p_libvlc
,
"intf-show"
,
val
);
...
...
@@ -462,8 +457,7 @@ static int Manage( vout_thread_t *p_vout )
val
.
i_int
&=
~
4
;
var_Set
(
p_vout
,
"mouse-button-down"
,
val
);
val
.
b_bool
=
true
;
var_Set
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
val
);
var_SetBool
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
true
);
}
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