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
5d854b36
Commit
5d854b36
authored
May 19, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11: Show popup menu on click, not on release, as KDE and GNOME seem to do it.
Close #2573
parent
d0240cc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+3
-2
No files found.
modules/video_output/x11/xcommon.c
View file @
5d854b36
...
...
@@ -1232,6 +1232,8 @@ static int ManageVideo( vout_thread_t *p_vout )
val
.
i_int
|=
1
;
var_Set
(
p_vout
,
"mouse-button-down"
,
val
);
var_SetBool
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
false
);
/* detect double-clicks */
if
(
(
((
XButtonEvent
*
)
&
xevent
)
->
time
-
p_vout
->
p_sys
->
i_time_button_last_pressed
)
<
300
)
...
...
@@ -1252,6 +1254,7 @@ 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
);
var_SetBool
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
true
);
break
;
case
Button4
:
...
...
@@ -1279,7 +1282,6 @@ static int ManageVideo( vout_thread_t *p_vout )
var_Set
(
p_vout
,
"mouse-button-down"
,
val
);
var_SetBool
(
p_vout
,
"mouse-clicked"
,
true
);
var_SetBool
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
false
);
}
break
;
...
...
@@ -1301,7 +1303,6 @@ static int ManageVideo( vout_thread_t *p_vout )
val
.
i_int
&=
~
4
;
var_Set
(
p_vout
,
"mouse-button-down"
,
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