From cd1d63b19de4cbde3cc411a5ad3f6fc37308760f Mon Sep 17 00:00:00 2001 From: arpi Date: Sun, 8 Dec 2002 01:35:07 +0000 Subject: [PATCH] fullscreen fix for KDE (reported to work with gnome 1/2 too) patch by "Puk Madick" git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8411 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/x11_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;