summaryrefslogtreecommitdiff
path: root/eventMouseClick.go
diff options
context:
space:
mode:
Diffstat (limited to 'eventMouseClick.go')
-rw-r--r--eventMouseClick.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eventMouseClick.go b/eventMouseClick.go
index a2af12a..a292cc4 100644
--- a/eventMouseClick.go
+++ b/eventMouseClick.go
@@ -103,7 +103,7 @@ func click(g *gocui.Gui, v *gocui.View) error {
for _, tk := range findByXY(w, h) {
// will show you everything found on a mouse click. great for debugging!
// tk.dumpWidget("click()")
- if tk.WidgetType == widget.Stdout {
+ if tk.node.WidgetType == widget.Stdout {
// don't send clicks to the stdout debugging window
continue
}