Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
48255261
Commit
48255261
authored
Sep 24, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Factorized and added missing vout_SendEventMouseVisible calls.
parent
2646299f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
src/video_output/display.c
src/video_output/display.c
+6
-10
No files found.
src/video_output/display.c
View file @
48255261
...
...
@@ -445,6 +445,12 @@ static void VoutDisplayEventMouse(vout_display_t *vd, const vlc_mouse_t *mouse)
osys
->
mouse
.
state
=
m
;
vout_SendDisplayEventMouse
(
osys
->
vout
,
&
m
);
/* */
osys
->
mouse
.
is_hidden
=
false
;
if
(
!
vd
->
info
.
has_hide_mouse
)
osys
->
mouse
.
last_moved
=
mdate
();
vout_SendEventMouseVisible
(
osys
->
vout
);
}
static
void
VoutDisplayEvent
(
vout_display_t
*
vd
,
int
event
,
va_list
args
)
...
...
@@ -485,11 +491,6 @@ static void VoutDisplayEvent(vout_display_t *vd, int event, va_list args)
msg_Dbg
(
vd
,
"VoutDisplayEvent 'mouse' @%d,%d"
,
x
,
y
);
/* */
osys
->
mouse
.
is_hidden
=
false
;
if
(
!
vd
->
info
.
has_hide_mouse
)
osys
->
mouse
.
last_moved
=
mdate
();
vout_SendEventMouseVisible
(
osys
->
vout
);
vlc_mouse_t
m
=
osys
->
mouse
.
state
;
m
.
i_x
=
x
;
m
.
i_y
=
y
;
...
...
@@ -513,11 +514,6 @@ static void VoutDisplayEvent(vout_display_t *vd, int event, va_list args)
/* */
msg_Dbg
(
vd
,
"VoutDisplayEvent 'mouse button' %d t=%d"
,
button
,
event
);
osys
->
mouse
.
is_hidden
=
false
;
if
(
!
vd
->
info
.
has_hide_mouse
)
osys
->
mouse
.
last_moved
=
mdate
();
vout_SendEventMouseVisible
(
osys
->
vout
);
vlc_mouse_t
m
=
osys
->
mouse
.
state
;
m
.
b_double_click
=
false
;
if
(
event
==
VOUT_DISPLAY_EVENT_MOUSE_PRESSED
)
...
...
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