mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 02:52:10 +00:00
small changes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4412 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
27d8da277a
commit
6454ae3740
@ -130,7 +130,7 @@ void mplMenuInit( void )
|
||||
|
||||
wsCreateWindow( &appMPlayer.menuWindow,
|
||||
appMPlayer.menuBase.x,appMPlayer.menuBase.y,appMPlayer.menuBase.width,appMPlayer.menuBase.height,
|
||||
wsNoBorder,wsShowMouseCursor|wsHandleMouseButton|wsHandleMouseMove,wsHideFrame|wsMaxSize|wsMinSize|wsHideWindow,"MPlayer menu" );
|
||||
wsNoBorder,wsShowMouseCursor|wsHandleMouseButton|wsHandleMouseMove,wsOverredirect|wsHideFrame|wsMaxSize|wsMinSize|wsHideWindow,"MPlayer menu" );
|
||||
|
||||
#ifdef DEBUG
|
||||
dbprintf( 1,"[menu.h] menu: 0x%x\n",(int)appMPlayer.menuWindow.WindowID );
|
||||
|
@ -427,7 +427,12 @@ void wsCreateWindow( wsTWindow * win,int X,int Y,int wX,int hY,int bW,int cV,uns
|
||||
win->VisualInfo.visual,
|
||||
win->WindowMask,&win->WindowAttrib );
|
||||
|
||||
#if 0
|
||||
wsClassHint.res_name=label;
|
||||
#else
|
||||
wsClassHint.res_name="MPlayer";
|
||||
#endif
|
||||
|
||||
wsClassHint.res_class="MPlayer";
|
||||
XSetClassHint( wsDisplay,win->WindowID,&wsClassHint );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user