Be more careful about not changing screen!

This commit is contained in:
rsc 2004-03-26 17:06:55 +00:00
parent 3df902ecd0
commit 6325e03247
2 changed files with 34 additions and 7 deletions

View file

@ -1054,6 +1054,8 @@ _drawmsgwrite(Display *d, void *v, int n)
m = 1;
if(n < m)
goto Eshortdraw;
if(drawlookup(client, 0, 0))
goto Eimageexists;
drawinstall(client, 0, screenimage, 0);
client->infoid = 0;
continue;