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;