From 9560f149332327240db40a2bd37ab02a41b301e4 Mon Sep 17 00:00:00 2001 From: Humaid Alqasimi Date: Tue, 31 Dec 2024 12:33:24 +0400 Subject: [PATCH] fixup! labwc: rebase patches from 0.8.1 -> 0.8.2 --- .../labwc/labwc-colored-borders.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/overlays/custom-packages/labwc/labwc-colored-borders.patch b/overlays/custom-packages/labwc/labwc-colored-borders.patch index 2ac504bd0..98bba7342 100644 --- a/overlays/custom-packages/labwc/labwc-colored-borders.patch +++ b/overlays/custom-packages/labwc/labwc-colored-borders.patch @@ -1,4 +1,4 @@ -From de8420e7db9f53dd129a08114b0cb41aec408c21 Mon Sep 17 00:00:00 2001 +From c4614e2dbaacb8cdbfaf2b28933622fb78669540 Mon Sep 17 00:00:00 2001 From: Humaid Alqasimi Date: Sat, 9 Nov 2024 15:23:20 +0400 Subject: [PATCH] Add colored borders @@ -240,7 +240,7 @@ index 49f088b7..a4cd9283 100644 struct ssd_part *part = ssd_get_part(&ssd->border.active.parts, LAB_SSD_PART_TOP); struct wlr_scene_rect *rect = wlr_scene_rect_from_node(part->node); diff --git a/src/theme.c b/src/theme.c -index 2a7111b2..e596279e 100644 +index 2a7111b2..ba7874c5 100644 --- a/src/theme.c +++ b/src/theme.c @@ -497,7 +497,7 @@ hex_to_dec(char c) @@ -282,10 +282,10 @@ index 2a7111b2..e596279e 100644 + theme_read(theme, &paths); + paths_destroy(&paths); + -+ memcpy(theme->window_active_border_color, color, sizeof(float)*4); -+ memcpy(theme->window_inactive_border_color, color, sizeof(float)*4); -+ memcpy(theme->window_active_title_bg_color, color, sizeof(float)*4); -+ memcpy(theme->window_inactive_title_bg_color, color, sizeof(float)*4); ++ memcpy(theme->window[THEME_ACTIVE].border_color, color, sizeof(float)*4); ++ memcpy(theme->window[THEME_INACTIVE].border_color, color, sizeof(float)*4); ++ memcpy(theme->window[THEME_ACTIVE].title_bg_color, color, sizeof(float)*4); ++ memcpy(theme->window[THEME_INACTIVE].title_bg_color, color, sizeof(float)*4); + + memcpy(theme->osd_bg_color, color, sizeof(float)*4); + memcpy(theme->osd_border_color, color, sizeof(float)*4);