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
e559e8c8
Commit
e559e8c8
authored
Mar 19, 2003
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fix for multiple monitors.
parent
1b92f4ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+4
-11
No files found.
modules/gui/macosx/vout.m
View file @
e559e8c8
...
...
@@ -2,7 +2,7 @@
* vout.m: MacOS X video output plugin
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: vout.m,v 1.4
2 2003/03/18 23:51:29 jlj
Exp $
* $Id: vout.m,v 1.4
3 2003/03/19 13:55:43 hartman
Exp $
*
* Authors: Colin Delacroix <colin@zoy.org>
* Florian G. Pflug <fgp@phlo.org>
...
...
@@ -390,7 +390,7 @@ static int vout_Manage( vout_thread_t *p_vout )
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
vlc_object_release
(
p_playlist
);
}
if
(
!
[
p_vout
->
p_sys
->
o_window
isKeyWindow
]
||
!
b_playing
)
if
(
!
b_playing
)
{
VLCHideMouse
(
p_vout
,
NO
);
}
...
...
@@ -554,13 +554,6 @@ static void VLCHideMouse ( vout_thread_t *p_vout, BOOL b_hide )
}
else
if
(
!
b_hide
)
{
if
(
!
[
o_window
isKeyWindow
]
&&
b_inside
)
{
/* be nice for ppl with multi monitors */
p_vout
->
p_sys
->
b_mouse_moved
=
NO
;
p_vout
->
p_sys
->
i_time_mouse_last_moved
=
mdate
();
return
;
}
[
NSCursor
unhide
];
p_vout
->
p_sys
->
b_mouse_pointer_visible
=
1
;
}
...
...
@@ -1243,7 +1236,7 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
defer:
NO
screen
:
o_screen
];
[
p_vout
->
p_sys
->
o_window
setLevel
:
NSPopUpMenuWindowLevel
-
1
];
p_vout
->
p_sys
->
b_mouse_moved
=
1
;
p_vout
->
p_sys
->
b_mouse_moved
=
YES
;
p_vout
->
p_sys
->
i_time_mouse_last_moved
=
mdate
();
}
else
...
...
@@ -1298,7 +1291,7 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
s_rect
=
[
p_vout
->
p_sys
->
o_window
frame
];
p_vout
->
p_sys
->
s_rect
.
origin
=
s_rect
.
origin
;
p_vout
->
p_sys
->
b_pos_saved
=
1
;
p_vout
->
p_sys
->
b_pos_saved
=
YES
;
}
p_vout
->
p_sys
->
p_qdport
=
nil
;
...
...
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