mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-13 20:09:59 +02:00
Get rid of CS_HREDRAW and CS_VREDRAW
This causes the window to black out to fully redraw even when the plugin's editor window can just draw over the new parts.
This commit is contained in:
@@ -675,7 +675,7 @@ ATOM register_window_class(std::string window_class_name) {
|
||||
WNDCLASSEX window_class{};
|
||||
|
||||
window_class.cbSize = sizeof(WNDCLASSEX);
|
||||
window_class.style = CS_DBLCLKS | CS_HREDRAW | CS_VREDRAW;
|
||||
window_class.style = CS_DBLCLKS;
|
||||
window_class.lpfnWndProc = window_proc;
|
||||
window_class.hInstance = GetModuleHandle(nullptr);
|
||||
window_class.hCursor = LoadCursor(nullptr, IDC_ARROW);
|
||||
|
||||
Reference in New Issue
Block a user