-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! labwc: rebase patches from 0.8.1 -> 0.8.2
- Loading branch information
1 parent
a5ae112
commit 9560f14
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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); | ||
|