Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
50c0fe9a
Commit
50c0fe9a
authored
Feb 15, 2003
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* if we are paused in fullscreen, show cursor.
parent
f1a078a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
7 deletions
+24
-7
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+24
-7
No files found.
modules/gui/macosx/vout.m
View file @
50c0fe9a
...
...
@@ -2,7 +2,7 @@
* vout.m: MacOS X video output plugin
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: vout.m,v 1.3
3 2003/02/14 23:07:4
1 hartman Exp $
* $Id: vout.m,v 1.3
4 2003/02/15 12:57:5
1 hartman Exp $
*
* Authors: Colin Delacroix <colin@zoy.org>
* Florian G. Pflug <fgp@phlo.org>
...
...
@@ -337,6 +337,9 @@ void E_(CloseVideo) ( vlc_object_t *p_this )
*****************************************************************************/
static
int
vout_Manage
(
vout_thread_t
*
p_vout
)
{
vlc_bool_t
b_change
=
0
;
intf_thread_t
*
p_intf
=
[
NSApp
getIntf
];
if
(
p_vout
->
i_changes
&
VOUT_FULLSCREEN_CHANGE
)
{
if
(
CoToggleFullscreen
(
p_vout
)
)
...
...
@@ -357,10 +360,9 @@ static int vout_Manage( vout_thread_t *p_vout )
}
/* hide/show mouse cursor */
if
(
p_vout
->
p_sys
->
b_mouse_moved
&&
p_vout
->
b_fullscreen
)
if
(
p_vout
->
p_sys
->
b_mouse_moved
&&
p_vout
->
b_fullscreen
&&
p_intf
->
p_sys
->
b_play_status
)
{
vlc_bool_t
b_change
=
0
;
if
(
!
p_vout
->
p_sys
->
b_mouse_pointer_visible
)
{
CGDisplayShowCursor
(
kCGDirectMainDisplay
);
...
...
@@ -375,12 +377,27 @@ static int vout_Manage( vout_thread_t *p_vout )
b_change
=
1
;
}
}
else
if
(
p_vout
->
b_fullscreen
&&
!
p_intf
->
p_sys
->
b_play_status
)
{
if
(
!
p_vout
->
p_sys
->
b_mouse_pointer_visible
)
{
CGDisplayShowCursor
(
kCGDirectMainDisplay
);
p_vout
->
p_sys
->
b_mouse_pointer_visible
=
1
;
b_change
=
1
;
}
else
if
(
p_vout
->
p_sys
->
b_mouse_pointer_visible
)
{
p_vout
->
p_sys
->
i_time_mouse_last_moved
=
mdate
();
p_vout
->
p_sys
->
b_mouse_moved
=
1
;
}
}
if
(
b_change
)
{
p_vout
->
p_sys
->
b_mouse_moved
=
0
;
p_vout
->
p_sys
->
i_time_mouse_last_moved
=
0
;
}
}
return
(
0
);
}
...
...
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