Update of /cvsroot/mplayer/main/Gui/wm In directory mail:/var/tmp.root/cvs-serv27578/Gui/wm Modified Files: ws.c Log Message: fullscreen -- round three -- icewm fullscreen fixed Index: ws.c =================================================================== RCS file: /cvsroot/mplayer/main/Gui/wm/ws.c,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- ws.c 8 May 2002 16:41:44 -0000 1.39 +++ ws.c 9 May 2002 17:28:09 -0000 1.40 @@ -729,6 +729,19 @@ unsigned long nitems, bytesafter; unsigned char * args = NULL; + if ( wsWMType == wsWMIceWM ) + { + switch ( layer ) + { + case -1: layer=2; break; // WinLayerBelow + case 0: layer=4; break; // WinLayerNormal + case 1: layer=8; break; // WinLayerOnTop + } + XChangeProperty( wsDisplay,win, + XInternAtom( wsDisplay,"_WIN_LAYER",False ),XA_CARDINAL,32,PropModeReplace,(unsigned char *)&layer,1 ); + return; + } + type=XInternAtom( wsDisplay,"_NET_SUPPORTED",False ); if ( Success == XGetWindowProperty( wsDisplay,wsRootWin,type,0,65536 / sizeof( long ),False,AnyPropertyType,&type,&format,&nitems,&bytesafter,&args ) && nitems > 0 ) { @@ -814,7 +827,7 @@ win->SizeHint.flags=PPosition | PSize | PWinGravity;// | PBaseSize; win->SizeHint.x=win->X; win->SizeHint.y=win->Y; win->SizeHint.width=win->Width; win->SizeHint.height=win->Height; - win->SizeHint.base_width=win->Width; win->SizeHint.base_height=win->Height; +// win->SizeHint.base_width=win->Width; win->SizeHint.base_height=win->Height; win->SizeHint.win_gravity=StaticGravity; if ( win->Property & wsMaxSize )
participants (1)
-
Zoltan Ponekker