diff options
author | Federico I <git@federicoigne.com> | 2020-03-21 22:44:20 +0000 |
---|---|---|
committer | Federico I <git@federicoigne.com> | 2020-03-21 22:44:20 +0000 |
commit | 35befbb19e5c677c3183028338e27055814bbcd5 (patch) | |
tree | ed411b674f739a838b516e0d79fa77575bc98bb3 /config.h | |
parent | 82deff42852af0512111e76ac8392e14737dea65 (diff) | |
download | st-35befbb19e5c677c3183028338e27055814bbcd5.tar.gz st-35befbb19e5c677c3183028338e27055814bbcd5.zip |
Revert Alpha patch
While the patch works fine and embedding issues have been fixed in the
latest patch (0.8.2), it breaks embedding for other programs like dmenu
and sxiw. Also, in the end, I prefer an opaque background.
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -87,9 +87,6 @@ char *termname = "st-256color"; | |||
87 | */ | 87 | */ |
88 | unsigned int tabspaces = 8; | 88 | unsigned int tabspaces = 8; |
89 | 89 | ||
90 | /* bg opacity */ | ||
91 | float alpha = 0.8; | ||
92 | |||
93 | /* Terminal colors (16 first used in escape sequence) */ | 90 | /* Terminal colors (16 first used in escape sequence) */ |
94 | static const char *colorname[] = { | 91 | static const char *colorname[] = { |
95 | /* 8 normal colors */ | 92 | /* 8 normal colors */ |
@@ -117,7 +114,6 @@ static const char *colorname[] = { | |||
117 | /* more colors can be added after 255 to use with DefaultXX */ | 114 | /* more colors can be added after 255 to use with DefaultXX */ |
118 | "#cccccc", | 115 | "#cccccc", |
119 | "#555555", | 116 | "#555555", |
120 | "black", | ||
121 | }; | 117 | }; |
122 | 118 | ||
123 | 119 | ||
@@ -126,7 +122,7 @@ static const char *colorname[] = { | |||
126 | * foreground, background, cursor, reverse cursor | 122 | * foreground, background, cursor, reverse cursor |
127 | */ | 123 | */ |
128 | unsigned int defaultfg = 7; | 124 | unsigned int defaultfg = 7; |
129 | unsigned int defaultbg = 258; | 125 | unsigned int defaultbg = 0; |
130 | static unsigned int defaultcs = 256; | 126 | static unsigned int defaultcs = 256; |
131 | static unsigned int defaultrcs = 257; | 127 | static unsigned int defaultrcs = 257; |
132 | 128 | ||