changeset 33654:90f7a7266410

Use X11 Bool symbolic constant.
author ib
date Mon, 27 Jun 2011 14:08:30 +0000
parents 86819da22c57
children cbb7cfeb8c71
files gui/interface.c gui/ui/main.c gui/ui/playbar.c
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Mon Jun 27 14:04:13 2011 +0000
+++ b/gui/interface.c	Mon Jun 27 14:08:30 2011 +0000
@@ -626,7 +626,7 @@
         guiInfo.MovieHeight = vo_dheight;
 
         if (guiWinID >= 0)
-            wsMoveWindow(&guiApp.mainWindow, 0, 0, vo_dheight);
+            wsMoveWindow(&guiApp.mainWindow, False, 0, vo_dheight);
 
         WinID = guiApp.subWindow.WindowID;
         break;
--- a/gui/ui/main.c	Mon Jun 27 14:04:13 2011 +0000
+++ b/gui/ui/main.c	Mon Jun 27 14:08:30 2011 +0000
@@ -306,7 +306,7 @@
             uiFullScreen();
            }
           wsResizeWindow( &guiApp.subWindow, guiInfo.MovieWidth / 2, guiInfo.MovieHeight / 2 );
-          wsMoveWindow( &guiApp.subWindow, 0,
+          wsMoveWindow( &guiApp.subWindow, False,
                         ( wsMaxX - guiInfo.MovieWidth/2  )/2 + wsOrgX,
                         ( wsMaxY - guiInfo.MovieHeight/2 )/2 + wsOrgY  );
          }
@@ -320,7 +320,7 @@
             uiFullScreen();
            }
           wsResizeWindow( &guiApp.subWindow, guiInfo.MovieWidth * 2, guiInfo.MovieHeight * 2 );
-          wsMoveWindow( &guiApp.subWindow, 0,
+          wsMoveWindow( &guiApp.subWindow, False,
                         ( wsMaxX - guiInfo.MovieWidth*2  )/2 + wsOrgX,
                         ( wsMaxY - guiInfo.MovieHeight*2 )/2 + wsOrgY  );
          }
@@ -334,7 +334,7 @@
             uiFullScreen();
            }
           wsResizeWindow( &guiApp.subWindow, guiInfo.MovieWidth, guiInfo.MovieHeight );
-          wsMoveWindow( &guiApp.subWindow, 0,
+          wsMoveWindow( &guiApp.subWindow, False,
                         ( wsMaxX - guiInfo.MovieWidth  )/2 + wsOrgX,
                         ( wsMaxY - guiInfo.MovieHeight )/2 + wsOrgY  );
 	  break;
--- a/gui/ui/playbar.c	Mon Jun 27 14:04:13 2011 +0000
+++ b/gui/ui/playbar.c	Mon Jun 27 14:08:30 2011 +0000
@@ -81,7 +81,7 @@
 	  uiPlaybarFade=0;
 	  vo_mouse_autohide=0;
 	 }
-        wsMoveWindow( &guiApp.playbarWindow,0,x,playbarLength );
+        wsMoveWindow( &guiApp.playbarWindow,False,x,playbarLength );
 	break;
    case 2: // fade out
 	playbarLength+=10;
@@ -93,7 +93,7 @@
           wsVisibleWindow( &guiApp.playbarWindow,wsHideWindow );
 	  return;
 	 }
-        wsMoveWindow( &guiApp.playbarWindow,0,x,playbarLength );
+        wsMoveWindow( &guiApp.playbarWindow,False,x,playbarLength );
 	break;
   }