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
1a54bf7c
Commit
1a54bf7c
authored
Sep 04, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: clean up
parent
c5f9ea13
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
+9
-7
modules/gui/macosx/CompatibilityFixes.h
modules/gui/macosx/CompatibilityFixes.h
+5
-0
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+1
-1
modules/gui/macosx/VideoView.m
modules/gui/macosx/VideoView.m
+1
-4
modules/gui/macosx/controls.m
modules/gui/macosx/controls.m
+1
-1
modules/gui/macosx/misc.m
modules/gui/macosx/misc.m
+1
-1
No files found.
modules/gui/macosx/CompatibilityFixes.h
View file @
1a54bf7c
...
...
@@ -56,6 +56,11 @@ enum {
NSApplicationPresentationDisableHideApplication
=
(
1
<<
8
),
NSApplicationPresentationDisableMenuBarTransparency
=
(
1
<<
9
)
};
@interface
NSWindow
(
IntroducedInLion
)
// just to shut off warnings, not implemented!
-
(
void
)
setRestorable
:(
BOOL
);
@end
#endif
#pragma mark -
...
...
modules/gui/macosx/MainWindow.m
View file @
1a54bf7c
...
...
@@ -80,7 +80,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
[
self
setMovableByWindowBackground
:
YES
];
/* we don't want this window to be restored on relaunch */
if
(
[
self
respondsToSelector
:
@selector
(
setRestorable
:)]
)
if
(
OSX_LION
)
[
self
setRestorable
:
NO
];
return
self
;
...
...
modules/gui/macosx/VideoView.m
View file @
1a54bf7c
...
...
@@ -397,10 +397,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
-
(
void
)
renewGState
{
NSWindow
*
window
=
[
self
window
];
if
([
window
respondsToSelector
:
@selector
(
disableScreenUpdatesUntilFlush
)])
[
window
disableScreenUpdatesUntilFlush
];
[[
self
window
]
disableScreenUpdatesUntilFlush
];
[
super
renewGState
];
}
...
...
modules/gui/macosx/controls.m
View file @
1a54bf7c
...
...
@@ -252,7 +252,7 @@
{
intf_thread_t
*
p_intf
=
VLCIntf
;
BOOL
b_invertedEventFromDevice
=
NO
;
if
(
[
theEvent
respondsToSelector
:
@selector
(
isDirectionInvertedFromDevice
)]
)
if
(
OSX_LION
)
{
if
([
theEvent
isDirectionInvertedFromDevice
])
b_invertedEventFromDevice
=
YES
;
...
...
modules/gui/macosx/misc.m
View file @
1a54bf7c
...
...
@@ -190,7 +190,7 @@ static NSMutableArray *blackoutWindows = NULL;
{
b_isset_canBecomeKeyWindow
=
NO
;
/* we don't want this window to be restored on relaunch */
if
(
[
self
respondsToSelector
:
@selector
(
setRestorable
:)]
)
if
(
OSX_LION
)
[
self
setRestorable
:
NO
];
}
return
self
;
...
...
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