Skip to content

0.12

Pre-release
Pre-release
Compare
Choose a tag to compare
@ddevault ddevault released this 07 Mar 14:49
· 5289 commits to master since this release

This release contains 93 changes from 11 contributors. Changes in this release include redshift support (currently requires a patched redshift), new automatic layout modes for Awesome migrants, security improvements, and many bugfixes. Please take careful note of the changes to IPC security configuration - these are backwards-incompatible and will require user intervention if you have customized your security configuration.

Package maintainers - /etc/sway/security has been moved to /etc/sway/security.d/00-defaults, and users are no longer expected to edit this file. FreeBSD users should take special note of these changes and will likely want to introduce a new file in /etc/sway/security.d/ that applies a liberal security policy for IPC-related features - the FreeBSD port is unable to enforce per-application IPC rules and you'll want to add a default rule that permits everything for now.

For those hoping to configure sway's default keybindings and behavior to be more like Awesome, see awesome.config

Changes

  • /etc/sway/security has been moved to /etc/sway/security.d/00-defaults and users are now encouraged to add their own security configurations as additional files in /etc/sway/security.d/. Maintainers of software that integrates with sway and require special permissions are encouraged to ship security configs in this directory as well (@SirCmpwn - #1080)
  • If not specified at build time, LD_LIBRARY_PATH will be unset, rather than defaulting to /usr/lib (@Hummer12007 - #1050)
  • Default backgrounds have been losslessly re-compressed and should reduce the package weight if enabled (@Jesin - #1032)
  • Previously undocumented features (swaygrab -f and hide_edge_borders) are now covered by their respective manuals (@Hummer12007, @ametisf - #1073, #1051)
  • Environment logging now occurs prior to compositor initialization, which helps diagnose certain kinds of problems (@SirCmpwn - 41f7aaa)

New Features

  • New automatic layouts unique to sway have been implemented that behave like similar features in WMs like Awesome. See sway(5) and look for layout auto for details. (@willakat - #1024)
  • Sway now supports gamma adjustment, which you can take advantage of with a patched redshift (@SirCmpwn - #1019)
  • IPC features can now be secured on a per-application basis - see sway-security(7) (@SirCmpwn - #1080)
  • focused is now available in window criteria (@Hummer12007 - #1053)
  • output [left|right] now matches i3's wrapping behavior (@dkess - #1048)
  • XWayland window instances are now shown in title bars if necessary (@Hummer12007 - #1052)
  • hide_edge_borders smart is now implemented, following i3 4.13 (@ametisf - #1044)

Bugs Fixed

  • Issues compiling sway on gcc 7 have been resolved (@Fale - #1086)
  • Capabilities are more carefuly handled when transitioning from euid 0 to a normal user, which fixes some problems on systems without logind (@Hummer12007 - #1043)
  • xdg-shell v6 support has been fleshed out in both wlc and sway, which should fix things like broken right click menus on GTK apps (@Hummer12007 - #1070, #1055)
  • Floating windows were created with the incorrect geometry, which has been corrected (@zandrmartin - #1075)
  • Image scaling specified at the swaylock command line was ignored, and now works correctly (@zandrmartin - #1017)
  • Inconsistencies with workspace layouts in IPC messages between i3 and sway were corrected (@Hummer12007 - #1030)
  • Workspaces with spaces in their names are now supported more consistently with i3 (@4e554c4c - #1011)