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
4bd7c74d
Commit
4bd7c74d
authored
Aug 21, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix mouse down event forwarding from opengl (closes #325)
parent
789892ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
modules/video_output/opengl.c
modules/video_output/opengl.c
+2
-0
No files found.
modules/video_output/opengl.c
View file @
4bd7c74d
...
@@ -230,6 +230,7 @@ static int CreateVout( vlc_object_t *p_this )
...
@@ -230,6 +230,7 @@ static int CreateVout( vlc_object_t *p_this )
var_Create
(
p_sys
->
p_vout
,
"mouse-y"
,
VLC_VAR_INTEGER
);
var_Create
(
p_sys
->
p_vout
,
"mouse-y"
,
VLC_VAR_INTEGER
);
var_Create
(
p_sys
->
p_vout
,
"mouse-moved"
,
VLC_VAR_BOOL
);
var_Create
(
p_sys
->
p_vout
,
"mouse-moved"
,
VLC_VAR_BOOL
);
var_Create
(
p_sys
->
p_vout
,
"mouse-clicked"
,
VLC_VAR_INTEGER
);
var_Create
(
p_sys
->
p_vout
,
"mouse-clicked"
,
VLC_VAR_INTEGER
);
var_Create
(
p_sys
->
p_vout
,
"mouse-button-down"
,
VLC_VAR_INTEGER
);
var_Create
(
p_sys
->
p_vout
,
"video-on-top"
,
var_Create
(
p_sys
->
p_vout
,
"video-on-top"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
...
@@ -237,6 +238,7 @@ static int CreateVout( vlc_object_t *p_this )
...
@@ -237,6 +238,7 @@ static int CreateVout( vlc_object_t *p_this )
var_AddCallback
(
p_sys
->
p_vout
,
"mouse-y"
,
SendEvents
,
p_vout
);
var_AddCallback
(
p_sys
->
p_vout
,
"mouse-y"
,
SendEvents
,
p_vout
);
var_AddCallback
(
p_sys
->
p_vout
,
"mouse-moved"
,
SendEvents
,
p_vout
);
var_AddCallback
(
p_sys
->
p_vout
,
"mouse-moved"
,
SendEvents
,
p_vout
);
var_AddCallback
(
p_sys
->
p_vout
,
"mouse-clicked"
,
SendEvents
,
p_vout
);
var_AddCallback
(
p_sys
->
p_vout
,
"mouse-clicked"
,
SendEvents
,
p_vout
);
var_AddCallback
(
p_sys
->
p_vout
,
"mouse-button-down"
,
SendEvents
,
p_vout
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
...
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