diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-15 08:22:07 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-15 08:23:13 +0100 |
commit | 6f61eb4a87fd12f07cc79708309c8b2c78f2de67 (patch) | |
tree | a3a66e8fd60361004f453581cca9da2861b470e1 /Kernel/ProcessGUI.cpp | |
parent | 14712ad9c5ac7e644b4f2d28c06960e602278201 (diff) | |
download | serenity-6f61eb4a87fd12f07cc79708309c8b2c78f2de67.zip |
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.
Diffstat (limited to 'Kernel/ProcessGUI.cpp')
-rw-r--r-- | Kernel/ProcessGUI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |