mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:38:11 +00:00
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:
parent
14712ad9c5
commit
6f61eb4a87
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ int Process::gui$invalidate_window(int window_id)
|
||||||
auto& window = *(*it).value;
|
auto& window = *(*it).value;
|
||||||
// FIXME: This should queue up a message that the window server process can read.
|
// FIXME: This should queue up a message that the window server process can read.
|
||||||
// Poking into its data structures is not good.
|
// Poking into its data structures is not good.
|
||||||
|
InterruptDisabler disabler;
|
||||||
WindowManager::the().invalidate(window);
|
WindowManager::the().invalidate(window);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue