summaryrefslogtreecommitdiff
path: root/find.go
diff options
context:
space:
mode:
Diffstat (limited to 'find.go')
-rw-r--r--find.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/find.go b/find.go
index 8fb8318..d3aa19d 100644
--- a/find.go
+++ b/find.go
@@ -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