]> Projects - orf-overlay.git/commitdiff Test
gui-wm/labwc: patch - add right padding to titlebar icons
authorOrfeas <redacted>
Thu, 18 Sep 2025 14:06:18 +0000 (17:06 +0300)
committerOrfeas <redacted>
Thu, 18 Sep 2025 14:06:18 +0000 (17:06 +0300)
gui-wm/labwc/files/labwc-0002-title-padding.patch [new file with mode: 0644]

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 (file)
index 0000000..37f3deb
--- /dev/null
@@ -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);