Slap an InterruptDisabler on gui$invalidate_window().

This is obviously not a permanent solution but it works now to allow
the windowing system to withstand invalidation spam.
This commit is contained in:
Andreas Kling 2019-01-15 08:22:07 +01:00
parent 14712ad9c5
commit 6f61eb4a87
Notes: sideshowbarker 2024-07-19 16:02:15 +09:00

View file

@ -113,6 +113,7 @@ int Process::gui$invalidate_window(int window_id)
auto& window = *(*it).value;
// FIXME: This should queue up a message that the window server process can read.
// Poking into its data structures is not good.
InterruptDisabler disabler;
WindowManager::the().invalidate(window);
return 0;
}