mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 11:55:08 +00:00

To start painting, call: gui$get_window_backing_store() Then finish up with: gui$release_window_backing_store() Process will retain the underlying GraphicsBitmap behind the scenes. This fixes racing between the WindowServer and GUI clients. This patch also adds a WSWindowLocker that is exactly what it sounds like.
287 B
287 B
____ _ __
/ __/__ _______ ___ (_) /___ __
_\ \/ -_) __/ -_) _ \/ / __/ // /
/___/\__/_/ \__/_//_/_/\__/\_, /
/___/
Welcome to Serenity OS.
Copyright (C) Andreas Kling, 2018-2019
All rights reserved.