package wayland
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=bf8fd0057242d11f1c265c11cfa5de3c517ec0ad5994eae45e1efe3aac034510
sha512=da639e0903325e124933a03156ffd76188d2dfa2a9a61c5cee808fc8783833b81bb68ab59364ccc7c54a98bafa45d5b5a6c0571179f48178b5667b180a6d5a73
CHANGES.md.html
v1.0
Improve connection shutdown (#22). Add
shutdown
andup
methods to the transport API. Callshutdown
to start a clean shutdown of the connection. Useup
to detect that a connection is shutting down (to avoid logging pointless errors). Addclose
andsocket
methods tounix_transport
.Log exceptions handling messages instead of aborting the connection (#21). Most errors are not fatal, and closing the connection means the application can't even e.g. prompt the user to save their work.
Add
Client.dump
andServer.dump
(#20). Useful for finding object reference leaks.Add
Proxy.pp_transport
(#19). Useful for logging when you have multiple connections.Also call
on_delete
handlers when the connection ends (#18). Allows them to be used for cleaning up resources.Add
set_paused
to pause processing of incoming messages (#17).Add
Proxy.can_send
(#16). This is useful to check whether a proxy has been destroyed.Raise
Invalid_argument
onProxy.id
if the proxy is destroyed.Add
wp_primary_selection_unstable_v1
. This appears to be identical to gtk-primary-selection except for the name and that it's marked as unstable. But sway has dropped support for the old name (see https://github.com/swaywm/sway/pull/5788).Update to latest Fmt API.
Fix deprecation warning with cstruct 6.0.1.
v0.2
Bugfix: handle
SIGPIPE
properly (#15).Add license field to opam metadata.
v0.1
Initial release.