diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-12-08 01:35:07 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-12-08 01:35:07 +0000 |
commit | cd1d63b19de4cbde3cc411a5ad3f6fc37308760f (patch) | |
tree | 8dafa06c190956b1b444b094edd1e1996429b6fd /libvo/x11_common.c | |
parent | ac483e12f79f069fe3b80367a95780b4259b17d3 (diff) |
fullscreen fix for KDE (reported to work with gnome 1/2 too)
patch by "Puk Madick" <pingy@swirvemail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8411 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r-- | libvo/x11_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 3e6da664ac..7133a1a7d2 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -676,7 +676,8 @@ void vo_x11_setlayer( int layer ) xev.window=vo_window; xev.format=32; xev.data.l[0]=layer; - xev.data.l[1]=XInternAtom( mDisplay,"_NET_WM_STATE_ABOVE",False ); +// xev.data.l[1]=XInternAtom( mDisplay,"_NET_WM_STATE_ABOVE",False ); + xev.data.l[1]=XInternAtom( mDisplay,"_NET_WM_STATE_STAYS_ON_TOP",False ); XSendEvent( mDisplay,mRootWin,False,SubstructureRedirectMask,(XEvent*)&xev ); XFree( args ); return; |