Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
78e7bd30
Commit
78e7bd30
authored
Dec 16, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
b_menu_change: remove write-only variable
parent
9f3acf60
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
38 deletions
+3
-38
include/vlc_interface.h
include/vlc_interface.h
+0
-1
modules/video_output/aa.c
modules/video_output/aa.c
+2
-10
modules/video_output/ggi.c
modules/video_output/ggi.c
+1
-10
modules/video_output/sdl.c
modules/video_output/sdl.c
+0
-9
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+0
-7
src/interface/interface.c
src/interface/interface.c
+0
-1
No files found.
include/vlc_interface.h
View file @
78e7bd30
...
...
@@ -72,7 +72,6 @@ struct intf_thread_t
/* XXX: new message passing stuff will go here */
vlc_mutex_t
change_lock
;
bool
b_menu_change
;
bool
b_menu
;
};
...
...
modules/video_output/aa.c
View file @
78e7bd30
...
...
@@ -200,16 +200,8 @@ static int Manage( vout_thread_t *p_vout )
{
case
AA_MOUSE
:
aa_getmouse
(
p_vout
->
p_sys
->
aa_context
,
&
x
,
&
y
,
&
b
);
if
(
b
&
AA_BUTTON3
)
{
intf_thread_t
*
p_intf
;
p_intf
=
vlc_object_find
(
p_vout
,
VLC_OBJECT_INTF
,
FIND_ANYWHERE
);
if
(
p_intf
)
{
p_intf
->
b_menu_change
=
1
;
vlc_object_release
(
p_intf
);
}
}
/*if ( b & AA_BUTTON3 )
trigger contextual menu here */
break
;
case
AA_RESIZE
:
p_vout
->
i_changes
|=
VOUT_SIZE_CHANGE
;
...
...
modules/video_output/ggi.c
View file @
78e7bd30
...
...
@@ -311,16 +311,7 @@ static int Manage( vout_thread_t *p_vout )
break
;
case
GII_PBUTTON_RIGHT
:
{
intf_thread_t
*
p_intf
;
p_intf
=
vlc_object_find
(
p_vout
,
VLC_OBJECT_INTF
,
FIND_ANYWHERE
);
if
(
p_intf
)
{
p_intf
->
b_menu_change
=
1
;
vlc_object_release
(
p_intf
);
}
}
/* trigger contextual menu here */
break
;
}
break
;
...
...
modules/video_output/sdl.c
View file @
78e7bd30
...
...
@@ -459,18 +459,9 @@ static int Manage( vout_thread_t *p_vout )
case
SDL_BUTTON_RIGHT
:
{
intf_thread_t
*
p_intf
;
var_Get
(
p_vout
,
"mouse-button-down"
,
&
val
);
val
.
i_int
&=
~
4
;
var_Set
(
p_vout
,
"mouse-button-down"
,
val
);
p_intf
=
vlc_object_find
(
p_vout
,
VLC_OBJECT_INTF
,
FIND_ANYWHERE
);
if
(
p_intf
)
{
p_intf
->
b_menu_change
=
1
;
vlc_object_release
(
p_intf
);
}
val
.
b_bool
=
true
;
var_Set
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
val
);
...
...
modules/video_output/x11/xcommon.c
View file @
78e7bd30
...
...
@@ -1327,13 +1327,6 @@ static int ManageVideo( vout_thread_t *p_vout )
var_Get
(
p_vout
,
"mouse-button-down"
,
&
val
);
val
.
i_int
&=
~
4
;
var_Set
(
p_vout
,
"mouse-button-down"
,
val
);
p_intf
=
vlc_object_find
(
p_vout
,
VLC_OBJECT_INTF
,
FIND_ANYWHERE
);
if
(
p_intf
)
{
p_intf
->
b_menu_change
=
1
;
vlc_object_release
(
p_intf
);
}
vlc_value_t
val
;
val
.
b_bool
=
true
;
var_Set
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
val
);
...
...
src/interface/interface.c
View file @
78e7bd30
...
...
@@ -108,7 +108,6 @@ intf_thread_t* __intf_Create( vlc_object_t *p_this, const char *psz_module )
/* Initialize structure */
p_intf
->
b_menu
=
false
;
p_intf
->
b_menu_change
=
false
;
/* Initialize mutexes */
vlc_mutex_init
(
&
p_intf
->
change_lock
);
...
...
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