add missing drawqlock/drawqunlock

This commit is contained in:
Russ Cox 2007-01-10 02:48:22 +00:00
parent c50e30b59e
commit 99dd6a2965
1 changed files with 6 additions and 0 deletions

View File

@ -300,7 +300,9 @@ leave_full_screen()
Rectangle rect = { { 0, 0 }, Rectangle rect = { { 0, 0 },
{ bounds.size.width, { bounds.size.width,
bounds.size.height} }; bounds.size.height} };
drawqlock();
flushmemscreen(rect); flushmemscreen(rect);
drawqunlock();
} }
} }
@ -316,7 +318,9 @@ full_screen()
Rectangle rect = { { 0, 0 }, Rectangle rect = { { 0, 0 },
{ bounds.size.width, { bounds.size.width,
bounds.size.height} }; bounds.size.height} };
drawqlock();
flushmemscreen(rect); flushmemscreen(rect);
drawqunlock();
} }
} }
@ -459,7 +463,9 @@ static OSStatus MainWindowCommandHandler(EventHandlerCallRef nextHandler,
Rectangle rect = { { 0, 0 }, Rectangle rect = { { 0, 0 },
{ bounds.size.width, { bounds.size.width,
bounds.size.height} }; bounds.size.height} };
drawqlock();
flushmemscreen(rect); flushmemscreen(rect);
drawqunlock();
break; break;
default: default: