summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-10 17:51:45 +0100
committerwm4 <wm4@nowhere>2014-12-10 17:51:45 +0100
commitccd4a732ab846fde583b3a8d10a8d84e7d791368 (patch)
tree9e5f65c30e01e56b474ce650f3496a40490c1884
parentd1aabb6316fd831d41da9c4b9d37048c7008e037 (diff)
downloadmpv-ccd4a732ab846fde583b3a8d10a8d84e7d791368.tar.bz2
mpv-ccd4a732ab846fde583b3a8d10a8d84e7d791368.tar.xz
player: set a specific window title in idle mode
Instead of "(unavailable)".
-rw-r--r--options/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c
index 81a13efc94..e4e050af5f 100644
--- a/options/options.c
+++ b/options/options.c
@@ -601,7 +601,7 @@ const struct MPOpts mp_default_opts = {
.WinID = -1,
},
.allow_win_drag = 1,
- .wintitle = "mpv - ${media-title}",
+ .wintitle = "mpv - ${?media-title:${media-title}}${!media-title:No file.}",
.heartbeat_interval = 30.0,
.stop_screensaver = 1,
.cursor_autohide_delay = 1000,