gterm: Default to transparent bg if wallpaper is set
This commit is contained in:
parent
31db0b9a4d
commit
e6c9607f38
@ -735,6 +735,10 @@ bool gterm_init(size_t *_rows, size_t *_cols, size_t width, size_t height) {
|
|||||||
if (background == NULL) {
|
if (background == NULL) {
|
||||||
margin = 0;
|
margin = 0;
|
||||||
margin_gradient = 0;
|
margin_gradient = 0;
|
||||||
|
} else {
|
||||||
|
if (theme_background == NULL) {
|
||||||
|
default_bg = 0x68000000;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
char *theme_margin = config_get_value(NULL, 0, "THEME_MARGIN");
|
char *theme_margin = config_get_value(NULL, 0, "THEME_MARGIN");
|
||||||
|
@ -5,8 +5,6 @@ DEFAULT_ENTRY=1
|
|||||||
TIMEOUT=3
|
TIMEOUT=3
|
||||||
VERBOSE=yes
|
VERBOSE=yes
|
||||||
|
|
||||||
THEME_BACKGROUND=68000000
|
|
||||||
|
|
||||||
BACKGROUND_PATH=${BACKGROUND_PATH}
|
BACKGROUND_PATH=${BACKGROUND_PATH}
|
||||||
BACKGROUND_STYLE=stretched
|
BACKGROUND_STYLE=stretched
|
||||||
BACKDROP_COLOUR=008080
|
BACKDROP_COLOUR=008080
|
||||||
|
Loading…
Reference in New Issue
Block a user