diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-05-30 15:42:42 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-05-30 15:51:33 +0300 |
commit | e74361c48822accc0413cae6911efaf6bc7a2b5f (patch) | |
tree | a851bbae7f1aac9a46f57877baa2ef72cf82487b /libvo/x11_common.c | |
parent | 1ffe8bece5922b344d750394a0fdd4e6e5794c82 (diff) | |
parent | 0dd2ddd2bc71bb180811eae73ecc15c526520144 (diff) | |
download | mpv-e74361c48822accc0413cae6911efaf6bc7a2b5f.tar.bz2 mpv-e74361c48822accc0413cae6911efaf6bc7a2b5f.tar.xz |
Merge svn changes up to r31189
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r-- | libvo/x11_common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 056c452b2d..b9da242c46 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -861,6 +861,10 @@ int vo_x11_check_events(struct vo *vo) XSetWMNormalHints(display, x11->window, &x11->vo_hint); x11->fs_flip = 0; break; + case DestroyNotify: + mp_msg(MSGT_VO, MSGL_WARN, "Our window was destroyed, exiting\n"); + mplayer_put_key(vo->key_fifo, KEY_CLOSE_WIN); + break; case ClientMessage: if (Event.xclient.message_type == x11->XAWM_PROTOCOLS && Event.xclient.data.l[0] == x11->XAWM_DELETE_WINDOW) |