Do not clear invalid region if no client connected.
This commit is contained in:
parent
2ad5b3510d
commit
1c72127c6b
@ -217,10 +217,7 @@ static int win_shadow_surface_copy(winShadowSubsystem* subsystem)
|
||||
surface = server->surface;
|
||||
|
||||
if (ArrayList_Count(server->clients) < 1)
|
||||
{
|
||||
region16_clear(&(surface->invalidRegion));
|
||||
return 1;
|
||||
}
|
||||
|
||||
surfaceRect.left = surface->x;
|
||||
surfaceRect.top = surface->y;
|
||||
|
Loading…
Reference in New Issue
Block a user