changeset 4411:a97f908988ed

small changes
author pontscho
date Tue, 29 Jan 2002 20:39:48 +0000
parents 2618318f988b
children 78878b1adb80
files Gui/mplayer/menu.h Gui/wm/ws.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/menu.h	Tue Jan 29 16:46:28 2002 +0000
+++ b/Gui/mplayer/menu.h	Tue Jan 29 20:39:48 2002 +0000
@@ -130,7 +130,7 @@
 
  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 );
--- a/Gui/wm/ws.c	Tue Jan 29 16:46:28 2002 +0000
+++ b/Gui/wm/ws.c	Tue Jan 29 20:39:48 2002 +0000
@@ -427,7 +427,12 @@
   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 );