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
1b7654aa
Commit
1b7654aa
authored
Mar 03, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mac OS X gui: Fix the fspanel screen selection, and make sure it is inactive at launch.
parent
c62a39ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
modules/gui/macosx/fspanel.m
modules/gui/macosx/fspanel.m
+13
-8
No files found.
modules/gui/macosx/fspanel.m
View file @
1b7654aa
...
...
@@ -49,10 +49,10 @@
/* let the window sit on top of everything else and start out completely transparent */
[
win
setLevel
:
NSModalPanelWindowLevel
];
[
win
setAlphaValue
:
0
.
0
];
i_device
=
0
;
[
win
center
];
[
self
setNonActive
:
nil
];
return
win
;
}
...
...
@@ -119,13 +119,18 @@
NSPoint
theCoordinate
;
NSRect
theScreensFrame
;
NSRect
theWindowsFrame
;
if
(
i_device
<
0
||
i_device
>=
(
signed
int
)[[
NSScreen
screens
]
count
]
)
NSScreen
*
screen
;
/* user-defined screen */
screen
=
[
NSScreen
screenWithDisplayID
:
(
CGDirectDisplayID
)
i_device
];
if
(
!
screen
)
{
/* invalid preferences or none specified, using main screen */
theScreensFrame
=
[[
NSScreen
mainScreen
]
frame
];
else
/* user-defined screen */
theScreensFrame
=
[[[
NSScreen
screens
]
objectAtIndex
:
i_device
]
frame
];
screen
=
[
NSScreen
mainScreen
];
}
theScreensFrame
=
[
screen
frame
];
theWindowsFrame
=
[
self
frame
];
...
...
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