From 1644d74d8de35555fb05be6eaa0425e684c44375 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Thu, 9 Apr 2020 17:46:12 +0200 Subject: [PATCH] Don't draw a background Gets redrawn during resizes while XEmbed is enabled. --- src/wine-host/editor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wine-host/editor.cpp b/src/wine-host/editor.cpp index 4a0a661c..05f97961 100644 --- a/src/wine-host/editor.cpp +++ b/src/wine-host/editor.cpp @@ -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);