summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/gui.zig b/src/gui/gui.zig
index f0802362..01272b41 100644
--- a/src/gui/gui.zig
+++ b/src/gui/gui.zig
@@ -1939,7 +1939,9 @@ fn runNative(init: std.process.Init, opts_in: pardes.Options, attach: ?[]const u
// arrays per command buffer (VULKAN_INTERNAL_DestroyCommandPool; SDL's
// main branch frees them).
defer c.SDL_Quit();
- var win_flags: c.SDL_WindowFlags = c.SDL_WINDOW_RESIZABLE;
+ // No title bar or frame from anyone: borderless asks the compositor for
+ // none (xdg-decoration's client side, which SDL then leaves undrawn).
+ var win_flags: c.SDL_WindowFlags = c.SDL_WINDOW_RESIZABLE | c.SDL_WINDOW_BORDERLESS;
if (!test_mode) win_flags |= c.SDL_WINDOW_HIGH_PIXEL_DENSITY;
// A test run renders to the capture texture; keep it off the desktop.
if (test_mode) win_flags |= c.SDL_WINDOW_HIDDEN;