mirror of
https://github.com/mpv-player/mpv
synced 2024-10-30 04:46:41 +01:00
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
This commit is contained in:
parent
ac483e12f7
commit
cd1d63b19d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user