Fix Sway floating frame geometry handling

Use the floating container geometry whenever a view is inside a `floating_con`, so frame/deco/content coordinates stay stable and window chrome no longer jumps during refreshes. Also remove the custom `title_format` left-padding (and its related comment) from the Sway config so title text is no longer artificially offset.
This commit is contained in:
2026-08-26 23:00:11 +12:00
parent 75a74a4f01
commit e4ea19cd09
2 changed files with 11 additions and 3 deletions
-2
View File
@@ -47,7 +47,6 @@ focus_follows_mouse yes
# so they can be identified, dragged, and resized with the mouse.
#
# Nebula overlays traffic-light controls on the focused window title bar.
# Horizontal padding keeps the Sway title text clear of those buttons.
# Menu-style chrome (application name, future File/Edit) stays in the top bar.
#
# This is temporary infrastructure until Nebula owns server-side decorations.
@@ -59,7 +58,6 @@ titlebar_border_thickness 1
default_border normal 1
default_floating_border normal 1
hide_edge_borders none
title_format " %title"
# class border backgr. text indicator child_border
client.focused #3d4d62 #1a222e #e8ecf2 #7ea0c4 #3d4d62