summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-03 11:59:45 -0600
committerJeff Carr <[email protected]>2025-03-03 11:59:45 -0600
commit76e15fa1df21d1d37a294983184a6a1df6812e07 (patch)
tree4bb20c359fb2523191e7b15a426f59b039d965fb /init.go
parent75014f4b284d3e88266c1ae319ee9bbdb86d3ad2 (diff)
start looking into proper mutex locking
Diffstat (limited to 'init.go')
-rw-r--r--init.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/init.go b/init.go
index f23c391..e25e0ce 100644
--- a/init.go
+++ b/init.go
@@ -70,6 +70,13 @@ func toolkitInit() {
me.BG.tk = makeNewInternalWidget(me.BG.wId)
}
+ // SETUP libnotify
+ makeNotifyClock(me.notify.clock.wId)
+
+ if me.stdout.tk == nil {
+ makeOutputWidget(me.baseGui, "from setThingsOnTop()")
+ }
+
// PUT INIT DEBUG COOE HERE
var toggle bool
for i := 0; i < 6; i++ {
@@ -77,7 +84,7 @@ func toolkitInit() {
w.dumpTree("MM")
w.dumpWindows("WW")
- time.Sleep(1000 * time.Millisecond)
+ time.Sleep(300 * time.Millisecond)
if toggle {
toggle = false
log.Info("gocui toolkitInit() put testing true stuff here")