mirror of
https://github.com/X11Libre/xserver.git
synced 2026-01-26 05:57:53 +00:00
When rapidly switching vt's, it can happen that shadow tries to draw to the screen before it's initialized. In that case, we return NULL, and we should also return a zero size, because shadow doesn't check for NULL. Signed-off-by: stefan11111 <stefan11111@shitposting.expert>