diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-28 22:52:23 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-28 22:52:23 +0000 |
commit | afe05d16b1941c99c768e1ea26299854ef455044 (patch) | |
tree | 2804addc99acbeaa392f781f7df8d6eb51c7ca66 /Gui/wm | |
parent | 8ded55d12f862aa2ef4a663f29025dbc33445bb2 (diff) |
more
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7544 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/wm')
-rw-r--r-- | Gui/wm/ws.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c index a268eff3ca..f054871acc 100644 --- a/Gui/wm/ws.c +++ b/Gui/wm/ws.c @@ -801,7 +801,8 @@ void wsSetLayer( Display * wsDisplay, Window win, int layer ) 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 @@ void wsFullScreen( wsTWindow * win ) 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 ); |