don't convert float to bool
This commit is contained in:
parent
30ec184e77
commit
7c949dc22d
|
@ -1399,7 +1399,7 @@ int main(int argc, char **argv) {
|
||||||
g_free(geometry);
|
g_free(geometry);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (trans) {
|
if (trans > 0.0) {
|
||||||
info.config.opacity_set = true;
|
info.config.opacity_set = true;
|
||||||
set_opacity(GTK_WIDGET(window), vte, trans);
|
set_opacity(GTK_WIDGET(window), vte, trans);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue