diff options
Diffstat (limited to 'gui-wm/labwc/files')
| -rw-r--r-- | gui-wm/labwc/files/labwc-0002-title-padding.patch | 12 |
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 @@ | |||
| 1 | diff --git a/src/ssd/ssd-titlebar.c b/src/ssd/ssd-titlebar.c | ||
| 2 | index 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); | ||
