[Mplayer-cvslog] CVS: main/Gui/wm ws.c,1.71,1.72

Joey Parrish CVS joey at mplayerhq.hu
Sun Nov 30 17:36:37 CET 2003


Update of /cvsroot/mplayer/main/Gui/wm
In directory mail:/var/tmp.root/cvs-serv7217/Gui/wm

Modified Files:
	ws.c 
Log Message:
runtime 'stay-on-top' functionality


Index: ws.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/wm/ws.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- ws.c	14 Aug 2003 01:45:16 -0000	1.71
+++ ws.c	30 Nov 2003 16:36:04 -0000	1.72
@@ -779,6 +779,9 @@
  vo_x11_decoration( wsDisplay,win->WindowID,decoration );
  vo_x11_sizehint( win->X,win->Y,win->Width,win->Height,0 );
  vo_x11_setlayer( wsDisplay,win->WindowID,win->isFullScreen );
+
+if ((!(win->isFullScreen)) & vo_ontop) vo_x11_setlayer(wsDisplay, win->WindowID,1);
+
  if ( vo_wm_type == 0 && !(vo_fsmode&16) )
   XWithdrawWindow( wsDisplay,win->WindowID,wsScreen );
  XMoveResizeWindow( wsDisplay,win->WindowID,win->X,win->Y,win->Width,win->Height );



More information about the MPlayer-cvslog mailing list