This release contains a few smaller new features, some refactorings, and some bug fixes.
New Features
- Added the CMake option
WITH_LIBDECOR
for using libdecor (off by default) for creating client-side window decorations (or negotiating server-side window decorations) for compositors that require them. This does not add support for Gnome and KDE yet, but is a step in that direction. - Added a
--title
option to allow custom window titles with support for placeholders such as{target_output}
(#45, thank you @mazunki!) - Added support for controlling multiple simultaneous
wl-present
sessions using theWL_PRESENT_PIPE_NAME
env var or--name
option - Improved
wl-present
behaviour when not havingpipectl
installed
Bugfixes
- Fixed negative output coordinates not working properly with regions (#50, thanks @jkub6!)
- Fixed
wl-present
behaving inconsistently when running multiple sessions at once (#51) - Fixed wayland protocol header generation when cross-compiling by adding a
FORCE_WAYLAND_SCANNER_PATH
CMake variable to provide the path to the host tool (#44, thanks @zboszor)
Other Changes
- Made release tarballs reproducible. Running
./scripts/release.sh
while checked out on a tag should now result in an identical tarball as attached to this release - Refactored the codebase to use the prefix
wlm_
for all public functions
Upgrading
For regular users, no changes are necessary. Packagers should consider enabling the WITH_LIBDECOR
option or adding it as an option for systems such as Gentoo or Nix if the additional dependency is acceptable. This option might become a default in future releases when support for KDE and Gnome is added.
Releases will now also contain a "nowlp" tarball that does not include wayland-protocols
(but does include wlr-protocols) for distros with strict copyright attribution requirements that don't want to manually attribute all of wayland-protocols (such as Debian).