[Mplayer-cvslog] CVS: main/Gui/wm ws.c,1.50,1.51

Zoltan Ponekker pontscho at mplayerhq.hu
Sun Sep 29 00:52:26 CEST 2002


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

Modified Files:
	ws.c 
Log Message:
more

Index: ws.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/wm/ws.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- ws.c	31 Aug 2002 17:04:59 -0000	1.50
+++ ws.c	28 Sep 2002 22:52:23 -0000	1.51
@@ -801,7 +801,8 @@
    e.xclient.window=win;
    e.xclient.format=32;
    e.xclient.data.l[0]=layer;
-   e.xclient.data.l[1]=XInternAtom( wsDisplay,"_NET_WM_STATE_STAYS_ON_TOP",False );
+//   e.xclient.data.l[1]=XInternAtom( wsDisplay,"_NET_WM_STATE_STAYS_ON_TOP",False );
+   e.xclient.data.l[1]=XInternAtom( wsDisplay,"_NET_WM_STATE_FULLSCREEN",False );
    e.xclient.data.l[2]=0l;
    e.xclient.data.l[3]=0l;
    e.xclient.data.l[4]=0l;
@@ -844,7 +845,8 @@
  switch ( wsWMType )
    {
     case wsWMUnknown:
-           XUnmapWindow( wsDisplay,win->WindowID );
+//           XUnmapWindow( wsDisplay,win->WindowID );
+	   XWithdrawWindow( wsDisplay,win->WindowID,wsScreen );
 	   break;
     case wsWMIceWM:
            if ( !win->isFullScreen ) XUnmapWindow( wsDisplay,win->WindowID );




More information about the MPlayer-cvslog mailing list