From 75014f4b284d3e88266c1ae319ee9bbdb86d3ad2 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 3 Mar 2025 08:31:21 -0600 Subject: define a background widget more properly --- structs.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index 8b9541c..5d94d50 100644 --- a/structs.go +++ b/structs.go @@ -77,6 +77,7 @@ type config struct { stdout stdout // information for the STDOUT window dropdown dropdown // the dropdown menu textbox dropdown // the textbox popup window + BG dropdown // the background widget notify libnotify // emulates the desktop libnotify menu allwin []*guiWidget // for tracking which window is next dark bool // use a 'dark' color palette @@ -187,7 +188,6 @@ type window struct { currentTab bool // the visible tab selectedTab *tree.Node // for a window, this is currently selected tab active bool // means this window is the active one - isBG bool // means this is the background widget. There is only one of these order int // what level the window is on // resize bool // only set the title once collapsed bool // only show the window title bar @@ -239,7 +239,6 @@ type guiWidget struct { color *colorT // what color to use colorLast colorT // the last color the widget had defaultColor *colorT // the default colors // TODO: make a function for this instead - isBG bool // means this is the background widget. There is only one of these } // THIS IS GO COMPILER MAGIC -- cgit v1.2.3