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:
parent
939ca767c7
commit
9ed83a694b
12
mi/mi.h
12
mi/mi.h
|
@ -470,12 +470,12 @@ extern _X_EXPORT void miMoveWindow(WindowPtr /*pWin */ ,
|
|||
VTKind /*kind */
|
||||
);
|
||||
|
||||
extern _X_EXPORT void miSlideAndSizeWindow(WindowPtr /*pWin */ ,
|
||||
int /*x */ ,
|
||||
int /*y */ ,
|
||||
unsigned int /*w */ ,
|
||||
unsigned int /*h */ ,
|
||||
WindowPtr /*pSib */
|
||||
extern _X_EXPORT void miResizeWindow(WindowPtr /*pWin */ ,
|
||||
int /*x */ ,
|
||||
int /*y */ ,
|
||||
unsigned int /*w */ ,
|
||||
unsigned int /*h */ ,
|
||||
WindowPtr /*pSib */
|
||||
);
|
||||
|
||||
extern _X_EXPORT WindowPtr miGetLayerWindow(WindowPtr /*pWin */
|
||||
|
|
|
@ -264,7 +264,7 @@ miScreenInit(ScreenPtr pScreen, void *pbits, /* pointer to screen bits */
|
|||
pScreen->MarkWindow = miMarkWindow;
|
||||
pScreen->MarkOverlappedWindows = miMarkOverlappedWindows;
|
||||
pScreen->MoveWindow = miMoveWindow;
|
||||
pScreen->ResizeWindow = miSlideAndSizeWindow;
|
||||
pScreen->ResizeWindow = miResizeWindow;
|
||||
pScreen->GetLayerWindow = miGetLayerWindow;
|
||||
pScreen->HandleExposures = miHandleValidateExposures;
|
||||
pScreen->ReparentWindow = (ReparentWindowProcPtr) 0;
|
||||
|
|
|
@ -337,9 +337,8 @@ miRecomputeExposures(WindowPtr pWin, void *value)
|
|||
}
|
||||
|
||||
void
|
||||
miSlideAndSizeWindow(WindowPtr pWin,
|
||||
int x, int y,
|
||||
unsigned int w, unsigned int h, WindowPtr pSib)
|
||||
miResizeWindow(WindowPtr pWin, int x, int y, unsigned int w, unsigned int h,
|
||||
WindowPtr pSib)
|
||||
{
|
||||
WindowPtr pParent;
|
||||
Bool WasViewable = (Bool) (pWin->viewable);
|
||||
|
|
Loading…
Reference in New Issue
Block a user