diff options
author | wm4 <wm4@mplayer2.org> | 2011-12-05 23:17:34 +0100 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2011-12-06 20:32:33 +0100 |
commit | 82118dc35edfbf9b6714e1e4e6b1823fc3205ff7 (patch) | |
tree | 19c0d5741f41ffb18d9da6662c27e72b8d1943a1 /libvo/x11_common.c | |
parent | 3df6dc718acc762df8f9fc5c44735aec795b7020 (diff) | |
download | mpv-82118dc35edfbf9b6714e1e4e6b1823fc3205ff7.tar.bz2 mpv-82118dc35edfbf9b6714e1e4e6b1823fc3205ff7.tar.xz |
libvo: change default window title to "mplayer2"
Also change the WM_CLASS "application class" string from "MPlayer" to
"mplayer2". This string is visible as application name in Gnome 3.
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r-- | libvo/x11_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 2c7572e8b1..cdbbc213b5 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -715,7 +715,7 @@ void vo_x11_classhint(struct vo *vo, Window window, const char *name) pid_t pid = getpid(); wmClass.res_name = opts->vo_winname ? opts->vo_winname : (char *)name; - wmClass.res_class = "MPlayer"; + wmClass.res_class = "mplayer2"; XSetClassHint(x11->display, window, &wmClass); XChangeProperty(x11->display, window, x11->XA_NET_WM_PID, XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &pid, 1); |