Introduction
Introduction Statistics Contact Development Disclaimer Help
surf-gtkblackbg-20231229-30f5464.diff - sites - public wiki contents of suckles…
git clone git://git.suckless.org/sites
Log
Files
Refs
---
surf-gtkblackbg-20231229-30f5464.diff (1271B)
---
1 From 45401ba76aa0157d49cba61dbc42ddc03d675796 Mon Sep 17 00:00:00 2001
2 From: Scarlett McAllister <[email protected]>
3 Date: Fri, 29 Dec 2023 12:41:32 -0400
4 Subject: [PATCH] Add black bg to gtk window and make it visible through …
5 view
6
7 ---
8 config.def.h | 2 +-
9 surf.c | 1 +
10 2 files changed, 2 insertions(+), 1 deletion(-)
11
12 diff --git a/config.def.h b/config.def.h
13 index 93cfeeb..ba68287 100644
14 --- a/config.def.h
15 +++ b/config.def.h
16 @@ -29,7 +29,7 @@ static Parameter defconfig[ParameterLast] = {
17 [FontSize] = { { .i = 12 }, },
18 [FrameFlattening] = { { .i = 0 }, },
19 [Geolocation] = { { .i = 0 }, },
20 - [HideBackground] = { { .i = 0 }, },
21 + [HideBackground] = { { .i = 1 }, },
22 [Inspector] = { { .i = 0 }, },
23 [Java] = { { .i = 1 }, },
24 [JavaScript] = { { .i = 1 }, },
25 diff --git a/surf.c b/surf.c
26 index f8c8dec..a6cb224 100644
27 --- a/surf.c
28 +++ b/surf.c
29 @@ -1461,6 +1461,7 @@ createwindow(Client *c)
30 g_signal_connect(G_OBJECT(w), "window-state-event",
31 G_CALLBACK(winevent), c);
32
33 + gtk_widget_modify_bg(GTK_WINDOW(w), GTK_STATE_NORMAL, &(GdkColo…
34 return w;
35 }
36
37 --
38 2.42.0
39
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.