Don't draw a background

Gets redrawn during resizes while XEmbed is enabled.
This commit is contained in:
Robbert van der Helm
2020-04-09 17:46:12 +02:00
parent b5b3b69f67
commit 1644d74d8d
-1
View File
@@ -246,7 +246,6 @@ ATOM register_window_class(std::string window_class_name) {
window_class.lpfnWndProc = window_proc;
window_class.hInstance = GetModuleHandle(nullptr);
window_class.hCursor = LoadCursor(nullptr, IDC_ARROW);
window_class.hbrBackground = CreateHatchBrush(HS_CROSS, RGB(255, 0, 255));
window_class.lpszClassName = window_class_name.c_str();
return RegisterClassEx(&window_class);