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
cfd14b54
Commit
cfd14b54
authored
Aug 16, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: don't let the vout resize the window if we are in Lion's fullscreen mode
parent
f1e8c225
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+1
-1
modules/video_output/macosx.m
modules/video_output/macosx.m
+7
-4
No files found.
modules/gui/macosx/MainWindow.m
View file @
cfd14b54
...
...
@@ -856,7 +856,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
-
(
void
)
resizeWindow
{
if
(
!
b_fullscreen
)
if
(
!
b_fullscreen
&&
!
(
NSAppKitVersionNumber
>=
1115
.
2
&&
[
NSApp
currentSystemPresentationOptions
]
==
NSApplicationPresentationFullScreen
)
)
{
NSPoint
topleftbase
;
NSPoint
topleftscreen
;
...
...
modules/video_output/macosx.m
View file @
cfd14b54
...
...
@@ -477,10 +477,13 @@ static void OpenglSwap(vlc_gl_t *gl)
*/
-
(
void
)
setWindowFrameWithValue
:(
NSValue
*
)
value
{
if
(
!
(
NSAppKitVersionNumber
>=
1115
.
2
&&
[
NSApp
currentSystemPresentationOptions
]
==
NSApplicationPresentationFullScreen
))
{
NSRect
frame
=
[
value
rectValue
];
if
(
frame
.
origin
.
x
<=
0
.
0
&&
frame
.
origin
.
y
<=
0
.
0
)
[[
self
window
]
center
];
[[
self
window
]
setFrame
:
frame
display
:
YES
animate
:
YES
];
}
}
/**
...
...
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