<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lan-mouse/src/backend/producer/wayland.rs, branch v0.7.2</title>
<subtitle>a fork</subtitle>
<id>https://git.nsrddyn.com/lan-mouse/atom/src/backend/producer/wayland.rs?h=v0.7.2</id>
<link rel='self' href='https://git.nsrddyn.com/lan-mouse/atom/src/backend/producer/wayland.rs?h=v0.7.2'/>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/'/>
<updated>2024-03-15T16:00:59Z</updated>
<entry>
<title>fix duplicate creating of wl_pointer / wl_keyboard (#92)</title>
<updated>2024-03-15T16:00:59Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2024-03-15T16:00:59Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=9a75a7622ec46c7a00642a3d208a6dffc5ea1bee'/>
<id>urn:sha1:9a75a7622ec46c7a00642a3d208a6dffc5ea1bee</id>
<content type='text'>
closes #91</content>
</entry>
<entry>
<title>fix misleading warning</title>
<updated>2024-01-18T21:22:27Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinand.schober@fau.de</email>
</author>
<published>2024-01-18T21:22:27Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=b3caba99ab3f0a29a27c9ccbf925d1d8207e8145'/>
<id>urn:sha1:b3caba99ab3f0a29a27c9ccbf925d1d8207e8145</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add a warning when mouse is released by compositor</title>
<updated>2024-01-17T07:36:41Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinand.schober@fau.de</email>
</author>
<published>2024-01-17T07:36:41Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=f28f75418c6d54d66c70539ce7c8d21d665c2db3'/>
<id>urn:sha1:f28f75418c6d54d66c70539ce7c8d21d665c2db3</id>
<content type='text'>
This can not be influenced and is helpful for debugging
</content>
</entry>
<entry>
<title>comment about pointer relase in sending state</title>
<updated>2024-01-08T15:54:14Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinand.schober@fau.de</email>
</author>
<published>2024-01-08T15:54:14Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=767fc8bd6bbff596e234d5fffd49ec0cdd4003d7'/>
<id>urn:sha1:767fc8bd6bbff596e234d5fffd49ec0cdd4003d7</id>
<content type='text'>
Figured out, why it sometimes happened that the pointer is released in
sending state. However nothing we can do about it.

(not a real issue)
</content>
</entry>
<entry>
<title>layer-shell: recreate windows, when output is removed / added (#62)</title>
<updated>2024-01-01T21:48:44Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2024-01-01T21:48:44Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=4561c206107cca1c10aa5a9b0b97ef600a9a246d'/>
<id>urn:sha1:4561c206107cca1c10aa5a9b0b97ef600a9a246d</id>
<content type='text'>
Previously, when an output was removed (e.g. laptop lid closed and opened) the windows used for input capture would not appear anymore until toggling the client off and on</content>
</entry>
<entry>
<title>Fix Error handling in layershell producer (#61)</title>
<updated>2024-01-01T21:07:21Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2024-01-01T21:07:21Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=6cdb607b11f1f92db453a09e8312f38869b9a574'/>
<id>urn:sha1:6cdb607b11f1f92db453a09e8312f38869b9a574</id>
<content type='text'>
previous error handling resulted in a softlock when the connection
to the compositor was lost</content>
</entry>
<entry>
<title>release stuck keys (#53)</title>
<updated>2023-12-31T14:42:29Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2023-12-31T14:41:06Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=64e3bf3ff4e3abc5917a4c70494bc752bc3e95a5'/>
<id>urn:sha1:64e3bf3ff4e3abc5917a4c70494bc752bc3e95a5</id>
<content type='text'>
Keys are now released when
- A client disconnects and still has pressed keys
- A client disconnects through CTLR+ALT+SHIFT+WIN
- Lan Mouse terminates with keys still being pressed through a remote client

This is also fixes an issue caused by KDE's implementation of the remote desktop portal backend:
Keys are not correctly released when a remote desktop session is closed while keys are still pressed,
causing them to be permanently stuck until kwin is restarted.

This workaround remembers all pressed keys and releases them when lan-mouse exits or a device disconnects.

closes #15
</content>
</entry>
<entry>
<title>Update dependencies (#56)</title>
<updated>2023-12-22T13:50:12Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2023-12-22T13:50:12Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=fed8e02d9f69a9a10a5a9ddd2cda5e46a35be852'/>
<id>urn:sha1:fed8e02d9f69a9a10a5a9ddd2cda5e46a35be852</id>
<content type='text'>
update wayland-client + reis</content>
</entry>
<entry>
<title>Fix an issue where client could not be entered again (#51)</title>
<updated>2023-12-17T16:57:17Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2023-12-17T16:57:17Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=eca367cdb41205549de0d7e9b0e03b91915984df'/>
<id>urn:sha1:eca367cdb41205549de0d7e9b0e03b91915984df</id>
<content type='text'>
RELEASE_MODIFIERS are now handled server side.

A client exited through CTRL+ALT+SHIFT+SUPER could sometimes not be entered again when the client
did not send a Modifiers (0) event.

Such a client would always respond with Modifiers (RELEASE_MODIFIERS) and immediately cause the sender to
exit again.

To prevent this, a modifier event with all modifiers released is now sent instead when the release modifiers are detected.</content>
</entry>
<entry>
<title>add leave event to make entering a client more reliable (#50)</title>
<updated>2023-12-17T16:38:06Z</updated>
<author>
<name>Ferdinand Schober</name>
<email>ferdinandschober20@gmail.com</email>
</author>
<published>2023-12-17T16:38:06Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/lan-mouse/commit/?id=735434438fb02674fbeaac020eca60a18c162ac3'/>
<id>urn:sha1:735434438fb02674fbeaac020eca60a18c162ac3</id>
<content type='text'>
Instead of relying on release events not getting lost, every event now signals the opponent
to release its pointer grab.

There is one case that requires a Leave event:

Consider a Sending client A and receiving Client B.

If B enters the dead-zone of client A, it will send an enter event towards A but before
A receives the Release event, it may still send additional events towards B that should not cause
B to immediately revert to Receiving state again.

Therefore B puts itself into AwaitingLeave state until it receives a Leave event coming from A.
A responds to the Enter event coming from B with a leave event, to signify that it will no longer
send any events and releases it's pointer.

To guard against packet loss of the leave events, B sends additional enter events while it is in AwaitingLeave
mode until it receives a Leave event at some point.

This is still not resilient against possible packet reordering in UDP but in the (rare) case where a leave event arrives before some other event coming from A, the user would simply need to move the pointer into the dead-zone again.</content>
</entry>
</feed>
