mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dix: XineramaConstrainCursor(): assign and declara variables in one shot
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
06af052eb7
commit
7c114a30bc
@@ -570,11 +570,8 @@ static void
|
||||
XineramaConstrainCursor(DeviceIntPtr pDev)
|
||||
{
|
||||
SpritePtr pSprite = pDev->spriteInfo->sprite;
|
||||
ScreenPtr pScreen;
|
||||
BoxRec newBox;
|
||||
|
||||
pScreen = pSprite->screen;
|
||||
newBox = pSprite->physLimits;
|
||||
ScreenPtr pScreen = pSprite->screen;
|
||||
BoxRec newBox = pSprite->physLimits;
|
||||
|
||||
/* Translate the constraining box to the screen
|
||||
the sprite is actually on */
|
||||
|
||||
Reference in New Issue
Block a user