mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
FZ: ZoneWindowDrawing is now properly initialized (#8836)
This commit is contained in:
@@ -28,9 +28,9 @@ class ZoneWindowDrawing
|
||||
unsigned duration;
|
||||
};
|
||||
|
||||
HWND m_window;
|
||||
RECT m_clientRect;
|
||||
ID2D1HwndRenderTarget* m_renderTarget;
|
||||
HWND m_window = nullptr;
|
||||
RECT m_clientRect{};
|
||||
ID2D1HwndRenderTarget* m_renderTarget = nullptr;
|
||||
std::optional<AnimationInfo> m_animation;
|
||||
|
||||
std::mutex m_mutex;
|
||||
@@ -43,9 +43,9 @@ class ZoneWindowDrawing
|
||||
static D2D1_RECT_F ConvertRect(RECT rect);
|
||||
void Render();
|
||||
|
||||
std::atomic<bool> m_shouldRender;
|
||||
std::atomic<bool> m_abortThread;
|
||||
std::atomic<bool> m_lowLatencyLock;
|
||||
std::atomic<bool> m_shouldRender = false;
|
||||
std::atomic<bool> m_abortThread = false;
|
||||
std::atomic<bool> m_lowLatencyLock = false;
|
||||
std::condition_variable m_cv;
|
||||
std::thread m_renderThread;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user