diff options
-rw-r--r-- | Gui/mplayer/menu.h | 2 | ||||
-rw-r--r-- | Gui/wm/ws.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Gui/mplayer/menu.h b/Gui/mplayer/menu.h index b1ce70fd7b..787a4627fd 100644 --- a/Gui/mplayer/menu.h +++ b/Gui/mplayer/menu.h @@ -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 ); diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c index 021a4a7fe7..b269447ed6 100644 --- a/Gui/wm/ws.c +++ b/Gui/wm/ws.c @@ -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 ); |