From: Orfeas Date: Thu, 18 Sep 2025 14:06:18 +0000 (+0300) Subject: gui-wm/labwc: patch - add right padding to titlebar icons X-Git-Url: https://git.orfeas.xyz/?a=commitdiff_plain;h=48de4033f55943b31a197c974f526a309ce3ebd3;p=orf-overlay.git gui-wm/labwc: patch - add right padding to titlebar icons --- diff --git a/gui-wm/labwc/files/labwc-0002-title-padding.patch b/gui-wm/labwc/files/labwc-0002-title-padding.patch new file mode 100644 index 0000000..37f3deb --- /dev/null +++ b/gui-wm/labwc/files/labwc-0002-title-padding.patch @@ -0,0 +1,12 @@ +diff --git a/src/ssd/ssd-titlebar.c b/src/ssd/ssd-titlebar.c +index bd0b66e6..b6e578b6 100644 +--- a/src/ssd/ssd-titlebar.c ++++ b/src/ssd/ssd-titlebar.c +@@ -406,6 +406,7 @@ ssd_update_title_positions(struct ssd *ssd, int offset_left, int offset_right) + } else if (theme->window_label_text_justify == LAB_JUSTIFY_RIGHT) { + x += title_bg_width - buffer_width; + } else if (theme->window_label_text_justify == LAB_JUSTIFY_LEFT) { ++ x += 5; + /* TODO: maybe add some theme x padding here? */ + } + wlr_scene_node_set_position(part->node, x, y);