diff options
| -rw-r--r-- | click.go | 22 |
1 files changed, 10 insertions, 12 deletions
@@ -102,18 +102,16 @@ func (w *guiWidget) doWidgetClick() { log.Log(NOW, "doWidgetClick() if this is the dropdown menu, handle it here?") case widget.Window: log.Log(NOW, "doWidgetClick() START on window", w.String()) - /* - if me.currentWindow == w.node { - return - } - if me.currentWindow != nil { - var curw *guiWidget - curw = me.currentWindow.TK.(*guiWidget) - curw.unsetCurrent() - curw.setColor(&colorWindow) - curw.hideWidgets() - } - */ + // if me.currentWindow == w.node { + // return + // } + if me.currentWindow != nil { + var curw *guiWidget + curw = me.currentWindow.TK.(*guiWidget) + curw.unsetCurrent() + curw.setColor(&colorWindow) + curw.hideWidgets() + } me.currentWindow = w.node log.Log(NOW, "doWidgetClick() set currentWindow to", w.String()) |
