mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-30 21:53:25 +00:00
xnest: fix up sprite funcs to stop compiler warnings.
This commit is contained in:
parent
c68ca0c7b2
commit
2854abd39d
3 changed files with 22 additions and 9 deletions
|
|
@ -36,7 +36,7 @@ is" without express or implied warranty.
|
|||
#include "Args.h"
|
||||
|
||||
Bool
|
||||
xnestRealizeCursor(ScreenPtr pScreen, CursorPtr pCursor)
|
||||
xnestRealizeCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor)
|
||||
{
|
||||
XImage *ximage;
|
||||
Pixmap source, mask;
|
||||
|
|
@ -116,7 +116,7 @@ xnestRealizeCursor(ScreenPtr pScreen, CursorPtr pCursor)
|
|||
}
|
||||
|
||||
Bool
|
||||
xnestUnrealizeCursor(ScreenPtr pScreen, CursorPtr pCursor)
|
||||
xnestUnrealizeCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor)
|
||||
{
|
||||
XFreeCursor(xnestDisplay, xnestCursor(pCursor, pScreen));
|
||||
xfree(xnestGetCursorPriv(pCursor, pScreen));
|
||||
|
|
@ -141,7 +141,7 @@ xnestRecolorCursor(ScreenPtr pScreen, CursorPtr pCursor, Bool displayed)
|
|||
&fg_color, &bg_color);
|
||||
}
|
||||
|
||||
void xnestSetCursor (ScreenPtr pScreen, CursorPtr pCursor, int x, int y)
|
||||
void xnestSetCursor (DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor, int x, int y)
|
||||
{
|
||||
if (pCursor)
|
||||
{
|
||||
|
|
@ -152,6 +152,6 @@ void xnestSetCursor (ScreenPtr pScreen, CursorPtr pCursor, int x, int y)
|
|||
}
|
||||
|
||||
void
|
||||
xnestMoveCursor (ScreenPtr pScreen, int x, int y)
|
||||
xnestMoveCursor (DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue