mi: miSlideAndSizeWindow -> miResizeWindow

Make the function name match the screen slot name.

Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2014-09-18 15:36:57 -04:00
parent 939ca767c7
commit 9ed83a694b
3 changed files with 9 additions and 10 deletions

View File

@ -470,7 +470,7 @@ extern _X_EXPORT void miMoveWindow(WindowPtr /*pWin */ ,
VTKind /*kind */ VTKind /*kind */
); );
extern _X_EXPORT void miSlideAndSizeWindow(WindowPtr /*pWin */ , extern _X_EXPORT void miResizeWindow(WindowPtr /*pWin */ ,
int /*x */ , int /*x */ ,
int /*y */ , int /*y */ ,
unsigned int /*w */ , unsigned int /*w */ ,

View File

@ -264,7 +264,7 @@ miScreenInit(ScreenPtr pScreen, void *pbits, /* pointer to screen bits */
pScreen->MarkWindow = miMarkWindow; pScreen->MarkWindow = miMarkWindow;
pScreen->MarkOverlappedWindows = miMarkOverlappedWindows; pScreen->MarkOverlappedWindows = miMarkOverlappedWindows;
pScreen->MoveWindow = miMoveWindow; pScreen->MoveWindow = miMoveWindow;
pScreen->ResizeWindow = miSlideAndSizeWindow; pScreen->ResizeWindow = miResizeWindow;
pScreen->GetLayerWindow = miGetLayerWindow; pScreen->GetLayerWindow = miGetLayerWindow;
pScreen->HandleExposures = miHandleValidateExposures; pScreen->HandleExposures = miHandleValidateExposures;
pScreen->ReparentWindow = (ReparentWindowProcPtr) 0; pScreen->ReparentWindow = (ReparentWindowProcPtr) 0;

View File

@ -337,9 +337,8 @@ miRecomputeExposures(WindowPtr pWin, void *value)
} }
void void
miSlideAndSizeWindow(WindowPtr pWin, miResizeWindow(WindowPtr pWin, int x, int y, unsigned int w, unsigned int h,
int x, int y, WindowPtr pSib)
unsigned int w, unsigned int h, WindowPtr pSib)
{ {
WindowPtr pParent; WindowPtr pParent;
Bool WasViewable = (Bool) (pWin->viewable); Bool WasViewable = (Bool) (pWin->viewable);