Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
7183021a
Commit
7183021a
authored
Dec 23, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixed 'disappearing' main window (fixes #5714)
parent
37c1667d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+3
-0
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+3
-1
No files found.
modules/gui/macosx/MainWindow.m
View file @
7183021a
...
@@ -788,6 +788,9 @@ static VLCMainWindow *_o_sharedInstance = nil;
...
@@ -788,6 +788,9 @@ static VLCMainWindow *_o_sharedInstance = nil;
/* chapters & titles */
/* chapters & titles */
//FIXME! b_chapters = p_input->stream.i_area_nb > 1;
//FIXME! b_chapters = p_input->stream.i_area_nb > 1;
if
(
cachedInputState
==
PLAYING_S
||
b_buffering
==
YES
)
[
self
makeKeyAndOrderFront
:
nil
];
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
}
}
...
...
modules/gui/macosx/intf.m
View file @
7183021a
...
@@ -262,7 +262,7 @@ static int InputEvent( vlc_object_t *p_this, const char *psz_var,
...
@@ -262,7 +262,7 @@ static int InputEvent( vlc_object_t *p_this, const char *psz_var,
[[
VLCMain
sharedInstance
]
updateMainMenu
];
[[
VLCMain
sharedInstance
]
updateMainMenu
];
break
;
break
;
case
INPUT_EVENT_CACHE
:
case
INPUT_EVENT_CACHE
:
[[
VLCMain
sharedInstance
]
updateMainWindow
];
[[
VLCMain
sharedInstance
]
performSelectorOnMainThread
:
@selector
(
updateMainWindow
)
withObject
:
nil
waitUntilDone
:
NO
];
break
;
break
;
case
INPUT_EVENT_STATISTICS
:
case
INPUT_EVENT_STATISTICS
:
[[[
VLCMain
sharedInstance
]
info
]
performSelectorOnMainThread
:
@selector
(
updateStatistics
)
withObject
:
nil
waitUntilDone
:
NO
];
[[[
VLCMain
sharedInstance
]
info
]
performSelectorOnMainThread
:
@selector
(
updateStatistics
)
withObject
:
nil
waitUntilDone
:
NO
];
...
@@ -1461,6 +1461,8 @@ unsigned int CocoaKeyToVLC( unichar i_key )
...
@@ -1461,6 +1461,8 @@ unsigned int CocoaKeyToVLC( unichar i_key )
}
}
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
}
}
[[
VLCMain
sharedInstance
]
performSelectorOnMainThread
:
@selector
(
updateMainWindow
)
withObject
:
nil
waitUntilDone
:
NO
];
}
}
-
(
void
)
playbackModeUpdated
-
(
void
)
playbackModeUpdated
...
...
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