From 142d6166ad172f418d36ae2fcda073695026daba Mon Sep 17 00:00:00 2001 From: piotr Date: Wed, 12 Oct 2022 23:36:19 +0200 Subject: [PATCH] fix line formatting --- tools.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools.go b/tools.go index 3e421c6..feb5e91 100644 --- a/tools.go +++ b/tools.go @@ -362,8 +362,8 @@ func taskButton(t task, instances []task) *gtk.Box { if con is located on an external display, after pressing the button, the conID value "freezes", and stays the same for all taskButtons, until the right mouse click. A gotk3 bug or WTF? */ - if ( btnEvent.Type() == gdk.EVENT_BUTTON_RELEASE || btnEvent.Type() == gdk.EVENT_TOUCH_END ) { - if ( btnEvent.Button() == 1 || btnEvent.Type() == gdk.EVENT_TOUCH_END ) { + if btnEvent.Type() == gdk.EVENT_BUTTON_RELEASE || btnEvent.Type() == gdk.EVENT_TOUCH_END { + if btnEvent.Button() == 1 || btnEvent.Type() == gdk.EVENT_TOUCH_END { focusCon(t.conID) return true } else if btnEvent.Button() == 3 {