[MPlayer-dev-eng] [PATCH] -wid: get initial window geometry

kiriuja mplayer-patches at en-directo.net
Fri Jul 16 04:18:35 CEST 2004


When -wid option is used, most VOs that support it start playing
video at its original (unscaled) size in the top left corner of
the window, and only scale it to the full window upon receipt
of a ConfigureNotify event, if and when the window is resized.

Also some VOs forget to map the window back after unmapping it
and setting attributes, again when -wid is in use.

Attached patch solved the problem here. It would remove the need
for (some of) ugly hackery in MPlayer frontends.

--
kiriuja
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-wid-1-1.patch
Type: text/x-diff
Size: 4935 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040715/9d0f6916/attachment.patch>


More information about the MPlayer-dev-eng mailing list