Mercurial > mplayer.hg
changeset 7543:18372010145f
more
author | pontscho |
---|---|
date | Sat, 28 Sep 2002 22:52:23 +0000 |
parents | 190d14d9130e |
children | 544c0974b6d9 |
files | Gui/wm/ws.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/wm/ws.c Sat Sep 28 22:37:20 2002 +0000 +++ b/Gui/wm/ws.c Sat Sep 28 22:52:23 2002 +0000 @@ -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 );