Support hide_window_decorations titlebar-only on Wayland

Hide the CSD titlebar subsurface while keeping shadow borders for
resizing. On SSD compositors (GNOME), forces CSD mode to draw
kitty's own shadows without a titlebar.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Antoine Cellerier
2026-02-08 12:12:15 +01:00
parent abb1141826
commit ef4574ae97
9 changed files with 82 additions and 20 deletions

View File

@@ -214,6 +214,11 @@ Detailed list of changes
- edit-in-kitty: Handle connection drop more gracefully (:pull:`9480`)
- Wayland: Add support for :code:`titlebar-only` in
:opt:`hide_window_decorations` to hide the titlebar while keeping shadow
borders for resizing. On compositors that use server-side decorations (such as
GNOME), this forces client-side decoration mode (:pull:`9486`)
0.45.0 [2025-12-24]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~