From 6f61eb4a87fd12f07cc79708309c8b2c78f2de67 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 15 Jan 2019 08:22:07 +0100 Subject: [PATCH] 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. --- Kernel/ProcessGUI.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Kernel/ProcessGUI.cpp b/Kernel/ProcessGUI.cpp index 4f849e4e85..f4ba4748d8 100644 --- a/Kernel/ProcessGUI.cpp +++ b/Kernel/ProcessGUI.cpp @@ -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; }