summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/cocoa_common.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m
index 98c352be9f..6f4603b65f 100644
--- a/video/out/cocoa_common.m
+++ b/video/out/cocoa_common.m
@@ -387,8 +387,10 @@ static int cocoa_set_window_title(struct vo *vo, const char *title)
void *talloc_ctx = talloc_new(NULL);
struct bstr btitle = bstr_sanitize_utf8_latin1(talloc_ctx, bstr0(title));
NSString *nstitle = [NSString stringWithUTF8String:btitle.start];
- if (nstitle)
+ if (nstitle) {
[s->window setTitle: nstitle];
+ [s->window displayIfNeeded];
+ }
talloc_free(talloc_ctx);
return VO_TRUE;
}