diff --git a/modules/juce_gui_basics/native/juce_Windowing_windows.cpp b/modules/juce_gui_basics/native/juce_Windowing_windows.cpp index 574eda9562..1e8f601451 100644 --- a/modules/juce_gui_basics/native/juce_Windowing_windows.cpp +++ b/modules/juce_gui_basics/native/juce_Windowing_windows.cpp @@ -2491,11 +2491,6 @@ private: static constexpr MARGINS margins { 1, 1, 0, 0 }; ::DwmExtendFrameIntoClientArea (hwnd, &margins); ::SetWindowPos (hwnd, nullptr, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER); - - // Disable rounded corners on Windows 11 for custom windows with no titlebar, - // because window borders look weird when they get rounded away. - const auto pref = DWMWCP_DONOTROUND; - DwmSetWindowAttribute (hwnd, DWMWA_WINDOW_CORNER_PREFERENCE, &pref, sizeof (pref)); } #if JUCE_DEBUG