Skip to content

Commit

Permalink
fixup! labwc: rebase patches from 0.8.1 -> 0.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
humaidq-tii committed Dec 31, 2024
1 parent a5ae112 commit 9560f14
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions overlays/custom-packages/labwc/labwc-colored-borders.patch
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
Date: Sat, 9 Nov 2024 15:23:20 +0400
Subject: [PATCH] Add colored borders
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 9560f14

Please sign in to comment.