~eliasnaur/gio-patches

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH gio] gesture: fix Hover by handling pointer.Cancel event

Details
Message ID
<20220124133820.27134-1-rajiivkanchan@gmail.com>
DKIM signature
pass
Download raw message
Patch: +1 -1
pointer.Cancel event is ignored, resulting in Hovered returning true
even though the pointer is no longer hovering over the region.
This change fixes it.

Signed-off-by: Rajiv Kanchan <rajiivkanchan@gmail.com>
---
 gesture/gesture.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gesture/gesture.go b/gesture/gesture.go
index 2d63963c..33201f70 100644
--- a/gesture/gesture.go
+++ b/gesture/gesture.go
@@ -51,7 +51,7 @@ func (h *Hover) Hovered(q event.Queue) bool {
			continue
		}
		switch e.Type {
		case pointer.Leave:
		case pointer.Leave, pointer.Cancel:
			if h.entered && h.pid == e.PointerID {
				h.entered = false
			}
-- 
2.25.1

[gio/patches] build failed

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CHDYHUB3V84T.1NKDUKN10AU0D@cirno2>
In-Reply-To
<20220124133820.27134-1-rajiivkanchan@gmail.com> (view parent)
DKIM signature
missing
Download raw message
gio/patches: FAILED in 19m25s

[gesture: fix Hover by handling pointer.Cancel event][0] from [Rajiv Kanchan][1]

[0]: https://lists.sr.ht/~eliasnaur/gio-patches/patches/28669
[1]: rajiivkanchan@gmail.com

✓ #679904 SUCCESS gio/patches/openbsd.yml https://builds.sr.ht/~eliasnaur/job/679904
✓ #679901 SUCCESS gio/patches/apple.yml   https://builds.sr.ht/~eliasnaur/job/679901
✓ #679903 SUCCESS gio/patches/linux.yml   https://builds.sr.ht/~eliasnaur/job/679903
✗ #679902 FAILED  gio/patches/freebsd.yml https://builds.sr.ht/~eliasnaur/job/679902
Details
Message ID
<CHEMO7BBK58B.2KEZ329U4RU18@themachine>
In-Reply-To
<20220124133820.27134-1-rajiivkanchan@gmail.com> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
Thanks, merged.

Elias
Reply to thread Export thread (mbox)