[MPlayer-cvslog] r35744 - in trunk/gui: ui/video.c wm/ws.c

ib subversion at mplayerhq.hu
Tue Jan 15 10:31:18 CET 2013


Author: ib
Date: Tue Jan 15 10:31:18 2013
New Revision: 35744

Log:
Add comments.

Tag some code which needs further investigation.

Modified:
   trunk/gui/ui/video.c
   trunk/gui/wm/ws.c

Modified: trunk/gui/ui/video.c
==============================================================================
--- trunk/gui/ui/video.c	Tue Jan 15 10:25:04 2013	(r35743)
+++ trunk/gui/ui/video.c	Tue Jan 15 10:31:18 2013	(r35744)
@@ -102,6 +102,7 @@ void uiVideoMouseHandle( int Button,int 
    case wsRLMouseButton:
           if ( ( !mplVideoMoved )&&( guiApp.videoWindow.isFullScreen ) )
            {
+            // NOTE TO MYSELF: this doesn't work, fix later with wsSetLayer()?
             if( videoVisible++%2 ) wsRaiseWindowTop( wsDisplay,guiApp.mainWindow.WindowID );
              else wsRaiseWindowTop( wsDisplay,guiApp.videoWindow.WindowID );
 	   }

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Tue Jan 15 10:25:04 2013	(r35743)
+++ trunk/gui/wm/ws.c	Tue Jan 15 10:31:18 2013	(r35744)
@@ -1267,8 +1267,8 @@ void wsIconify(wsTWindow *win)
  */
 void wsRaiseWindowTop(Display *display, Window Win)
 {
-    XMapRaised(display, Win);
-    XRaiseWindow(display, Win);
+    XMapRaised(display, Win);     // NOTE TO MYSELF: is that really enough?
+    XRaiseWindow(display, Win);   // NOTE TO MYSELF: is that really enough?
 }
 
 // ----------------------------------------------------------------------------------------------


More information about the MPlayer-cvslog mailing list