[MPlayer-dev-eng] [PATCH] libvo/x11_common: resize window before mapping it.

Nicolas George nicolas.george at normalesup.org
Wed Feb 6 21:18:37 CET 2013


L'octidi 18 pluviôse, an CCXXI, wm4 a écrit :
> There's a simpler way: destroy the hidden window after probing for
> OpenGL, and recreate the window when it's actually needed. You don't
> need to change anything in the X11 code, just change vo_gl (or was it
> gl_common) to tear down the X11 state completely after probing. I did
> that in various mplayer forks and it works well.

Thanks for the advice.

I usually try to avoid Gordian knot-style solutions if I can, though.

Also, I realize by looking carefully that -geometry +x+y is implemented, for
various X11-based VOs, by letting the window be positioned at the WM's
decision and then moving it. I would like to understand exactly what is
going on.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20130206/bdfeb864/attachment.asc>


More information about the MPlayer-dev-eng mailing list