VO: don't wait for map event in X VO initialization
commitca5399d04fa14639d2a047f29280e8184b419dcb
authorUoti Urpala <uau@mplayer2.org>
Thu, 7 Apr 2011 23:21:48 +0000 (8 02:21 +0300)
committerUoti Urpala <uau@mplayer2.org>
Thu, 7 Apr 2011 23:30:13 +0000 (8 02:30 +0300)
tree15de4c966189d29a2fa5f94f0387d89448fdfe50
parentf06fe7f80ef4e36995e102f432d89729ceae076b
VO: don't wait for map event in X VO initialization

After creating a video window the common X code waited for a MapNotify
event before proceeding. This meant that if the window was opened on
another workspace the player would be stuck until the user switched to
that workspace and the window could become actually visible. Remove
this waiting code. I don't know why it was there or if it was actually
beneficial/needed for some setup (at least common uses seem to work
fine without it); it comes from the earliest MPlayer versions visible
in VCS history.
libvo/x11_common.c