Skip to content

viewport 0.4.0

Choose a tag to compare

@codebam codebam released this 20 Oct 19:03
· 218 commits to main since this release
v0.4.0
0a8e3e3

A release about the edges of the desktop — an X client's synthetic input, a
wallpaper that moves, a wheel a script can turn — plus the bug tail those
changes shook loose, and cef back as the default shell.

  • An X client's emulated input reaches the desktop. Xwayland ≥ 23.2 hands
    a client's XTEST calls to libei, and the compositor starts it that way: Steam
    Input's desktop layout moves the real cursor, xdotool works outside X11,
    and a controller that used to need a uinput bridge has a second path with a
    consent prompt in front of it.
  • Animated wallpapers. A GIF, animated WebP or APNG is a
    background-image the engine animates, in all five fittings including
    tile; a video plays in a muted, looping <video> under the desktop with
    fill/fit/stretch/center as object-fit, and stops and unloads when a
    terminal hides the page.
  • input.scroll turns the wheel over the control socket, in notches on
    either axis, completing the synthetic-input family input.pointer,
    input.button and input.key began — one detent per notch, the same
    conversion remote-desktop discrete scroll passes through.
  • cef is the default backend again — nix build, nix run,
    .#viewport-smithay and programs.viewport.shellBackend all land on the
    embedded Chromium, the cheapest of the three engine-free backends per painted
    frame.
  • The smithay fork is rebased onto upstream master (cf43a02a), its
    virtual-keyboard patches dropped for upstream's own zwp_virtual_keyboard_v1
    rework, and its delta is now three patches.
  • Fixed, in the long tail: screen sharing works again on a machine that has
    run tests (the desktop-wide bus names belong to the session's compositor);
    Wine's _NET_WM_STATE fullscreen opens fullscreen; a bare xdg-dialog-v1
    hint no longer floats every GTK window; HDR works in games under Proton
    (wp_color_management_v1 at version 3); scrolling works in Chromium-family
    clients including Steam; copying in a Wayland client is visible to X11
    applications; a new window no longer opens in the top-left corner; a
    fixed-size X11 window floats rather than being tiled; a screen share no
    longer redraws every monitor; and viewport msg -t input.button --button 272
    sends a number.

See CHANGELOG.md for the whole of it, and packaging/aur for the Arch
recipes — nine of them, three engines in three forms each.

Arch packages

viewport-webkitgtk, viewport-wpe and viewport-chromium build this tag
from source; their -bin twins unpack the artifacts below; the -git recipes
follow main. One machine takes one engine in one form.