summaryrefslogtreecommitdiffstats
path: root/gui-wm/labwc
diff options
context:
space:
mode:
authorOrfeas <38209077+0xfea5@users.noreply.github.com>2025-09-18 17:06:18 +0300
committerOrfeas <38209077+0xfea5@users.noreply.github.com>2025-09-18 17:06:18 +0300
commit48de4033f55943b31a197c974f526a309ce3ebd3 (patch)
treef0987945969c088015a694feff55836b042c786e /gui-wm/labwc
parentgui-wm/labwc: correct PATCHES to work with 9999 (diff)
downloadorf-overlay-48de4033f55943b31a197c974f526a309ce3ebd3.tar.gz
orf-overlay-48de4033f55943b31a197c974f526a309ce3ebd3.zip
gui-wm/labwc: patch - add right padding to titlebar icons
Diffstat (limited to 'gui-wm/labwc')
-rw-r--r--gui-wm/labwc/files/labwc-0002-title-padding.patch12
1 files changed, 12 insertions, 0 deletions
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 @@
1diff --git a/src/ssd/ssd-titlebar.c b/src/ssd/ssd-titlebar.c
2index bd0b66e6..b6e578b6 100644
3--- a/src/ssd/ssd-titlebar.c
4+++ b/src/ssd/ssd-titlebar.c
5@@ -406,6 +406,7 @@ ssd_update_title_positions(struct ssd *ssd, int offset_left, int offset_right)
6 } else if (theme->window_label_text_justify == LAB_JUSTIFY_RIGHT) {
7 x += title_bg_width - buffer_width;
8 } else if (theme->window_label_text_justify == LAB_JUSTIFY_LEFT) {
9+ x += 5;
10 /* TODO: maybe add some theme x padding here? */
11 }
12 wlr_scene_node_set_position(part->node, x, y);