Merge pull request #42 from nwg-piotr/issue36

Close on RMB only #36
This commit is contained in:
Piotr Miller
2022-01-10 23:55:16 +01:00
committed by GitHub
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 {