close on LMB only #36

This commit is contained in:
piotr
2022-01-10 22:04:58 +01:00
parent 8fdb174643
commit 9d6d572f72
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -21,7 +21,7 @@ import (
"github.com/gotk3/gotk3/gtk"
)
const version = "0.2.4"
const version = "0.2.5"
var (
appDirs []string
@@ -425,7 +425,7 @@ func main() {
resultWindow.Connect("button-release-event", func(sw *gtk.ScrolledWindow, e *gdk.Event) bool {
btnEvent := gdk.EventButtonNewFromEvent(e)
if btnEvent.Button() == 1 || btnEvent.Button() == 3 {
if btnEvent.Button() == 3 {
if !*resident {
gtk.MainQuit()
} else {