shithub: opossum

Download patch

ref: ee9f9d3ea405fb6e546ce68cc63df4008c7bd4f8
parent: af7eaeb14a83747ac7b5bdb5cfd3f0812d8219a3
author: Philip Silva <philip.silva@protonmail.com>
date: Sun Feb 21 16:24:05 EST 2021

Transparent default bg for boxes

--- a/browser/browser.go
+++ b/browser/browser.go
@@ -1289,6 +1289,10 @@
 	browser = b
 	style.SetFetcher(b)
 	dui = _dui
+	dui.Background, err = dui.Display.AllocImage(image.Rect(0, 0, 10, 10), draw.ARGB32, true, 0x00000000)
+	if err != nil {
+		log.Fatalf("%v", err)
+	}
 	display = dui.Display
 
 	b.Website.layout(b, InitialLayout)