- the 'activitate window' call in mainloop, which was removed to save

performance, gave display errors in some occasions.
  now its moved to the main drawing loop, which is not for each event
  luckily.
  tested at windows by ztonzy
This commit is contained in:
Ton Roosendaal 2003-10-13 19:36:26 +00:00
parent ceb26d2a4e
commit 5caf1e6bfd
1 changed files with 3 additions and 1 deletions

View File

@ -868,6 +868,8 @@ static void screen_dispatch_events(void) {
int events_remaining= 1;
ScrArea *sa;
window_make_active(mainwin); // added it here instead of screenmain (ton)
while (events_remaining) {
events_remaining= 0;
@ -934,7 +936,7 @@ void screenmain(void)
event= screen_qread(&val, &ascii);
}
// window_make_active(mainwin); // (only for inputchange, removed, ton)
// window_make_active(mainwin); // (only for inputchange, removed, (ton))
if (event==INPUTCHANGE) {
window_make_active(mainwin);