Composite: Uninitialized borderClipX/borderClipY
Valgrind warned me about two other uninitialized variables, which are not padding. Valgrind output at the end. I'm a bit unsure of what these should be initialized to, is zero fine?
This commit is contained in:
parent
d1338a9480
commit
f508446a2b
|
@ -134,6 +134,8 @@ compRedirectWindow (ClientPtr pClient, WindowPtr pWin, int update)
|
|||
}
|
||||
|
||||
REGION_NULL (pScreen, &cw->borderClip);
|
||||
cw->borderClipX = 0;
|
||||
cw->borderClipY = 0;
|
||||
cw->update = CompositeRedirectAutomatic;
|
||||
cw->clients = 0;
|
||||
cw->oldx = COMP_ORIGIN_INVALID;
|
||||
|
|
Loading…
Reference in New Issue
Block a user