mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
new -fsmode flag: 0x8 enables XSetTransientForHint
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1416 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4bd1f7bb90
commit
0ac4042c14
@ -195,6 +195,10 @@ void vo_x11_decoration( Display * vo_Display,Window w,int d )
|
|||||||
// XMapWindow(vo_Display], w);
|
// XMapWindow(vo_Display], w);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(vo_fsmode&8){
|
||||||
|
XSetTransientForHint (vo_Display, w, RootWindow(vo_Display,mScreen));
|
||||||
|
}
|
||||||
|
|
||||||
vo_MotifHints=XInternAtom( vo_Display,"_MOTIF_WM_HINTS",0 );
|
vo_MotifHints=XInternAtom( vo_Display,"_MOTIF_WM_HINTS",0 );
|
||||||
if ( vo_MotifHints != None )
|
if ( vo_MotifHints != None )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user