diff --git a/find.go b/find.go index 2cb94f3..4bb9ad1 100644 --- a/find.go +++ b/find.go @@ -129,13 +129,6 @@ func findWindowUnderMouse() *guiWidget { } } - /* - // print out the window list - for _, tk := range me.allwin { - log.Info("findWindowUnderMouse() print:", tk.labelN, tk.window.active, tk.window.order) - } - */ - // now check if the active window is below the mouse for _, tk := range me.allwin { if tk.window.active { @@ -152,12 +145,6 @@ func findWindowUnderMouse() *guiWidget { return a.window.order - b.window.order }) - /* - // print out the window list - for _, tk := range me.allwin { - log.Info("findWindowUnderMouse() print:", tk.labelN, tk.window.active, tk.window.order) - } - */ for _, win := range me.allwin { if win.full.inRect(w, h) { // log.Info(fmt.Sprintf("findWindowUnderMouse() found %s window (%dx%d)", win.cuiName, w, h)) diff --git a/libnotify.go b/libnotify.go index 8e282d5..7f55b46 100644 --- a/libnotify.go +++ b/libnotify.go @@ -150,6 +150,10 @@ func setNotifyIconText(s string) { me.notify.icon.tk.setColorNotifyIcon() me.baseGui.SetViewOnTop(me.notify.icon.tk.v.Name()) log.Info("setNotifyIconText() updated menu to:", me.notify.icon.tk.labelN) + // print out the window list // TODO: put this in libnotify + for _, tk := range me.allwin { + log.Info("known window Window", tk.labelN, tk.window.active, tk.window.order) + } } // in the very end of redrawing things, this will place the help and stdout on the top or botton diff --git a/window.go b/window.go index a45fc1d..128acd2 100644 --- a/window.go +++ b/window.go @@ -210,13 +210,6 @@ func (tk *guiWidget) makeWindowActive() { tk.redrawWindow(tk.gocuiSize.w0, tk.gocuiSize.h0) setThingsOnTop() // sets help, Stdout, etc on the top after windows have been redrawn - - /* - // print out the window list // TODO: put this in libnotify - for _, tk := range me.allwin { - log.Info("makeWindowActive() Window", tk.labelN, tk.window.active, tk.window.order) - } - */ } func (tk *guiWidget) makeTK(ddItems []string) {