fix: add support for kitty mouse leave events
This prevents reporting kitty mouse leave events as spurious mouse clicks.
This commit is contained in:
parent
d53a24a1d2
commit
9d127e4cc3
3 changed files with 8 additions and 2 deletions
|
@ -389,6 +389,9 @@ fn receive_safe(self: *Self, from: tp.pid_ref, m: tp.message) !void {
|
|||
return;
|
||||
}
|
||||
|
||||
if (try m.match(.{"mouse_leave"}))
|
||||
return;
|
||||
|
||||
if (try m.match(.{"focus_in"}))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue