diff options
| author | Jeff Carr <[email protected]> | 2025-04-30 14:41:27 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-04-30 14:41:27 -0500 | 
| commit | 664ce4dfae476f119caac9f1f1e270df1e40bbba (patch) | |
| tree | f3b3a9723d973ab575e492600561983ad35e7550 | |
| parent | 7b6af30194302f92798fbd7bdeabf3d72528bcb8 (diff) | |
rm old codev0.22.45
| -rw-r--r-- | find.go | 13 | ||||
| -rw-r--r-- | libnotify.go | 4 | ||||
| -rw-r--r-- | window.go | 7 | 
3 files changed, 4 insertions, 20 deletions
@@ -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 @@ -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) {  | 
