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
75c8bbcc
Commit
75c8bbcc
authored
Jul 22, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Make sure we don't see a grey flash in float-on-top mode in embedded window.
parent
d38a1d80
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
modules/gui/macosx/embeddedwindow.h
modules/gui/macosx/embeddedwindow.h
+1
-0
modules/gui/macosx/embeddedwindow.m
modules/gui/macosx/embeddedwindow.m
+6
-0
No files found.
modules/gui/macosx/embeddedwindow.h
View file @
75c8bbcc
...
@@ -53,6 +53,7 @@
...
@@ -53,6 +53,7 @@
BOOL
b_window_is_invisible
;
BOOL
b_window_is_invisible
;
NSSize
videoRatio
;
NSSize
videoRatio
;
NSInteger
originalLevel
;
}
}
-
(
void
)
controlTintChanged
;
-
(
void
)
controlTintChanged
;
...
...
modules/gui/macosx/embeddedwindow.m
View file @
75c8bbcc
...
@@ -245,6 +245,10 @@
...
@@ -245,6 +245,10 @@
if
(
blackout_other_displays
)
if
(
blackout_other_displays
)
[
screen
blackoutOtherScreens
];
[
screen
blackoutOtherScreens
];
/* Make sure we don't see the window flashes in float-on-top mode */
originalLevel
=
[
self
level
];
[
self
setLevel
:
NSNormalWindowLevel
];
/* Only create the o_fullscreen_window if we are not in the middle of the zooming animation */
/* Only create the o_fullscreen_window if we are not in the middle of the zooming animation */
if
(
!
o_fullscreen_window
)
if
(
!
o_fullscreen_window
)
{
{
...
@@ -506,6 +510,8 @@
...
@@ -506,6 +510,8 @@
[
o_fullscreen_window
release
];
[
o_fullscreen_window
release
];
o_fullscreen_window
=
nil
;
o_fullscreen_window
=
nil
;
[
self
setLevel
:
originalLevel
];
[
self
unlockFullscreenAnimation
];
[
self
unlockFullscreenAnimation
];
}
}
...
...
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