Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,11 @@ int main(int argc, char** argv) {
brand::load(assetDir.c_str());
if (!args.screenshot || args.splash) splash::load(assetDir.c_str(), !args.screenshot);
ImGui_ImplSDL3_InitForOpenGL(window, ctx);
// The SDL3 backend turns SDL_BORDERLESS_WINDOWED_STYLE off for its own
// viewport windows. SDL reads that hint whenever it rebuilds this window's
// style (restore does). On Windows a maximized window without WS_CAPTION
// covers the taskbar. The editor opens no viewport windows.
SDL_SetHint("SDL_BORDERLESS_WINDOWED_STYLE", "1");
{
// The backend places the IME box in window coordinates.
ImGuiPlatformIO& pio = ImGui::GetPlatformIO();
Expand Down
Loading