[MPlayer-dev-eng] [PATCH] for correct restoring window positions in gmplayer

Lutz Mändle lmaendle at gmx.net
Mon Oct 3 18:50:57 CEST 2005


Hi,
I've found a way for correct restoring of the window positions in gui 
mode. The trick is, to create the windows with 0,0 as x,y-positions and 
after make the windows visible move them to the stored positions. The 
stored positions can be negative, which is correct, if the window is on 
the left or top border, but if the window is created with such 
coordinates, it seems to sit beyond the right respectively bottom border 
of the screen.

The patch is tested against cvs from 3. oct. 2005 and can applied with 
the following command: patch -p0 < patch.txt, if the patch.txt resides 
in the main directory.

Und Tschüß...
Lutz Mändle         Internet: lmaendle at gmx.net
Berlin/Germany

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20051003/16fbf4b1/attachment.txt>


More information about the MPlayer-dev-eng mailing list