Align window chrome with Sway title bars
Adds focused title-bar geometry to the window service and updates the Sway backend to derive frame data more reliably (including parent node fallback and content rect tracking for wrapped/floating views). Window chrome positioning now centers against the actual title bar instead of deco offsets, improving alignment. Also refreshes visual sizing/padding for traffic-light controls and Sway titlebar spacing to match the new chrome metrics.
This commit is contained in:
@@ -54,12 +54,12 @@ focus_follows_mouse yes
|
||||
# Layer-shell surfaces (desktop, top bar, launcher, window chrome) are not
|
||||
# xdg_shell/XWayland views and are not decorated by these settings.
|
||||
font pango:Ubuntu 10
|
||||
titlebar_padding 12 8
|
||||
titlebar_padding 14 10
|
||||
titlebar_border_thickness 1
|
||||
default_border normal 1
|
||||
default_floating_border normal 1
|
||||
hide_edge_borders none
|
||||
title_format " %title"
|
||||
title_format " %title"
|
||||
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused #3d4d62 #1a222e #e8ecf2 #7ea0c4 #3d4d62
|
||||
|
||||
Reference in New Issue
Block a user