(svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command.
This commit is contained in:
@@ -34,8 +34,8 @@ void ResetWindowSystem();
|
||||
void SetupColoursAndInitialWindow();
|
||||
void InputLoop();
|
||||
|
||||
void InvalidateWindowData(WindowClass cls, WindowNumber number, int data = 0);
|
||||
void InvalidateWindowClassesData(WindowClass cls, int data = 0);
|
||||
void InvalidateWindowData(WindowClass cls, WindowNumber number, int data = 0, bool immediatelly = false);
|
||||
void InvalidateWindowClassesData(WindowClass cls, int data = 0, bool immediatelly = false);
|
||||
|
||||
void DeleteNonVitalWindows();
|
||||
void DeleteAllNonVitalWindows();
|
||||
|
Reference in New Issue
Block a user