diff options
Diffstat (limited to 'find.go')
| -rw-r--r-- | find.go | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -94,25 +94,6 @@ func (tk *guiWidget) findWindows() []*guiWidget { return found } -// find the BG widget. -// This widget is always in the background and covers the whole screen. -// gocui seems to not return mouse events unless there is something there -func (tk *guiWidget) findBG() *guiWidget { - if tk.WidgetType() == widget.Stdout { - if tk.WidgetId() != me.stdout.wId { - tk.isBG = true - return tk - } - } - - for _, child := range tk.children { - if found := child.findBG(); found != nil { - return found - } - } - return nil -} - // used by gocui.TabKey to rotate through the windows func findNextWindow() *guiWidget { var found bool |
