Tags

Tags give the ability to mark specific points in history as being important
  • 0.6.0

    labwc 0.6.0
    
    This release contains significant refactoring to use the wlroots
    scene-graph API. This touches many areas of the code, particularly
    rendering, server-side-decoration, the layer-shell implementation and the
    menu. Many thanks to @Consolatis for doing most of the heavy lifting with
    this.
    
    Noteworthy, related changes include:
    
    - The use of a buffer implementation instead of using wlr_texture. It
      handles both images and fonts, and scales according to output scale.
    - The use of node-descriptors to assign roles to wlr_scene_nodes in order
      to simplify the code.
    - Improving the "Debug" action to print scene-graph trees
    
    A large number of bugs and regressions have been fixed following the
    re-factoring, too many to list here, but we are grateful to all who have
    reported, tested and fixed issues. Particular mentions go to @bi4k8,
    @flrian, @heroin-moose, @jlindgren90, @Joshua-Ashton, @01micko and @skerit
    
    Added
    
    - Set environment variable LABWC_PID to the pid of the compositor so that
      SIGHUP and SIGTERM can be sent to specific instances.
    - Add command line options --exit and --reconfigure.
    - Support setting keyboard repeat and delay at runtime. Written-by: @bi4k8
    - Add support for mouse-wheel bindings. Set default bindings to switch
      workspaces when scrolling on the desktop.  Written-by: @Arnaudv6
    - Implement key repeat for keybindings. Written-by: @jlindgren90
    - Support smooth scroll and horizontal scroll. Written-by: @bi4k8
    - Implement virtual keyboard and pointer protocols, enabling the use of
      clients such as wtype and wayvnc. Written-by: @Joshua-Ashton
    - Add github workflow CI including Debian, FreeBSD, Arch and Void,
      including a build without xwayland.
    - Support keybind "None" action to clear other actions for a particular
      keybind context. Written-by: @jlindgren90
    - Support font slant (itliacs) and weight (bold). Written-by: @jlindgren90
    - Support `<default />` mousebinds to load default mousebinds and provide
      a way to keep config files simpler whilst allowing user specific binds.
      Issue #416. Written-by: @Consolatis
    - Add config option `<core><cycleViewOutlines>` to enable/disable preview
      of outlines. Written-by: @Flrian
    - Render submenu arrows
    - Allow highest level menu definitions - typically used for root-menu and
      client-menu - to be defined without label attritube, for example like this:
      `<openbox_menu><menu id="root-menu">...</menu></openbox>`. Issue #472
    - Allow xdg-desktop-portal-wlr to work out of the box by initializing dbus
      and systemd activation environment. This enables for example OBS Studio
      to work with no user configuration. If systemd or dbus is not available
      the environment update will fail gracefully. PR #461
      Written-by: @Joshua-Ashton and @Consolatis
    - Workspaces. Written-by: @Consolatis
    - presentation-time protocol
    - Native language support for client-menus. Written-by: @01micko
    - Touch support. Written-by: @bi4k8
    - drm_lease_v1 for VR to work and leasing of desktop displays.
      Written-by: Joshua Ashton
    - ToggleAlwaysOnTop action. Written-by: @Consolatis
    - Command line option -C to specify config directory
    - Theme options osd.border.color and osd.border.width. Written-by: @Consolatis
    - Menu `<separator />` and associated theme options:
      menu.separator.width, menu.separator.padding.width,
      menu.separator.padding.height and menu.separator.color
    - Adjust maximized and tiled windows according to usable_area taking
      into account exclusive layer-shell clients. Written-by: @Consolatis
    - Restore natural geometry when moving tiled/maximized window
      Fixes #391. Written-by: @Consolatis
    - Improve action implementation to take a list of arguments in preperation
      for actions with multiple arguments. Written-by: @Consolatis
    
    Fixed
    
    - Remove unwanted gap when initially (on map) positioning windows larger
      than output usable area (issue #403).
    - Prevent setting cursor icon on drag. Written-by: @Consolatis (issue #549)
    - Fix bugs relating to sending matching pairs of press and release
      keycodes to clients when using keybinds. Also fix related key-repeat
      bug. (Issue #510)
    - Fix wlr_output_cursor initialization bug on new output.
      Written-by: @jlindgren90
    - Show correct cursor for resize action triggered by keybind.
      Written-by: @jlindgren
    - Fix bug which manifest itself when keeping button pressed in GTK3 menu
      and firefox context menu. Written-by: @jlindgren90
    - Enable tap be default on non-touch devices (which some laptop trackpads
      apparently are)
    - Handle missing cursor theme (issue #246). Written-by: @Consolatis
    - Fix various surface syncronization, stacking, positioning and focus
      issues, including those related to both xwayland, scroll/drag events
      and also #526 #483
    - On first map, do not center xwayland views with explicitly specified
      position. Written-by: @jlindgren90
    - Give keyboard focus back to topmost mapped view when unmapping topmost
      xwayland unmanaged surfaces, such as dmenu. Written-by: @Consolatis.
    - Fix mousebind ordering and replace earlier mousebinds by later ones
      Written-by: @Consolatis
    - Fix various bugs associated with destroying/disabling outputs, including
      issue #497
    - Hide Alt-Tab switcher when canceling via Escape. @jlindgren90
    - (Re)set seat when xwayland is ready (because wlroots reset the seat
      assigned to xwayland to NULL whenever Xwayland terminates).
      Issues #166 #444. Written-by: @Consolatis. Helped-by: @droc12345
    - Increase File Descriptor (FD) limit to max because a compositor has to
      handle many: client connections, DMA-BUFs, wl_data_device pipes and so on.
      Fixes client freeze/crashes (swaywm/sway#6642). Written-by: @Joshua-Ashton
    - Fix crash when creating a cursor constraint and there is no currently
      focused view.
    - Gracefully handle dying client during interactive move.
      Written-by: @Consolatis
    - Dynamically adjust server-side-deccoration invisible resize areas based
      on usable_area to ensure that cursor events are sent to clients such as
      panels in preference to grabbing window edges. Fixes #265.
      Written-by: @Consolatis
    - Always position submenus inside output extents. Fixes #276
      Written-by: @Consolatis
    - Do not crash when changing TTY. Written-by: @bi4k8
    - Set wlroots.wrap to a specific commit rather than master because it
      enables labwc commits to be checked out and build without manually
      having to find the right wlroots commit if there are upstream breaking
      changes.
    - Increase accuracy of window center-alignment, taking into account
      usable_area and window decoration. Also, top/left align if window is
      bigger than usable area.
    - Handle view-destruction during alt-tab cycling.
      Written-by: @Joshua-Ashton
    - Survive all outputs being disabled
    - Check that double-clicks are on the same window. Written-by: yizixiao
    - Set xdg-shell window position before maximize on first map so that the
      unmaximized geometry is known when started in maximized mode.
      Fixes issue #305. Reported-by: @01micko
    - Support `<menu><item><action name="Execute"><execute>`
      `<exectue>` is a deprecated name for `<command>`, but is supported for
      backward compatibility with old menu-generators.
    - Keep xwayland-shell SSD state on unmap/map cycle.
      Written-by: @Consolatis
    - Prevent segfault on missing direction arguments. Reported-by: @flrian
    - Fix keybind insertion order to restore intended behavior of keybinds
      set by `<default />`. Written-by: @Consolatis
    - Ensure client-menu actions are always applied on window they belong to
      This fixes #380. Written-by: @Consolatis
    - Keep window margin in sync when toggling decorations.
      Written-by: @Consolatis
    - Fix handling of client-initiated configure requests.
      Written-by: @jlindgren90
    - Always react to new output configuration. Reported-by @heroin-moose and
      Written-by: @Consolatis
    - Fix bug in environment variable expansion by allowing underscores to be
      part of the variable names. Issue #439
    - Fix parsing bug of adaptiveSync setting and test for support
    
    Changed
    
    - src/config/rcxml.c: distinguish between no and unknown font places so
      that `<font>` with no `place` attribute can be added after other font
      elements without over-writing their values. Written-by: @bi4k8
    - theme: change window.label.text.justify default to center
    - Redefine the SSD "Title" context to cover the whole Titlebar area except
      the parts occupied by buttons. This allows "Drag" and "DoubleClick"
      actions to be de-coupled from buttons. As a result, "Drag" and
      "DoubleClick" actions previously defined against "TitleBar" should now
      come under the "Title" context, for example:
      `<mousebind button="Left" action="Drag"><action name="Move"/></mousebind>`
    - Remove default alt-escape keybind for Exit because too many people have
      exited the compositor by mistake trying to get out of alt-tab cycling
      or similar.
  • 0.5.3

    labwc 0.5.3
    
    Added
    
    - wlr-output-power-management protocol to enable clients such as wlopm
      Written-by: @bi4k8
    
    Fixed
    
    - Call foreign-toplevel-destroy when unmapping xwayland surfaces because
      some xwayland clients leave unmapped child views around. Although
      handle_destroy() is not called for these, we have to call
      foreign-toplevel-destroy to avoid clients such as panels incorrecly
      showing them.
    - Handle xwayland set_override_redirect events to fix weird behaviour with
      gitk menus and rofi.
    - Re-focus parent surface on unmapping xwayland unmanaged surfaces
      Fixes #352 relating to JetBrains and Intellij focus issues
      Written-by: Jelle De Loecker
    - Do not segfault on missing drag icon. Written-by: @Consolatis
    - Fix windows irratically sticking to edges during move/resize.
      Fixes issues #331 and #309
  • 0.5.2

    labwc 0.5.2
    
    Compile with wlroots 0.15.1
    
    This is a minor bugfix release mostly to ease packaging by using
    system provided wlroots is available (thanks @eli-schwartz)
  • 0.5.1

    labwc 0.5.1
    
    Compile with wlroots 0.15.1
    
    - Honour size increments from WM_SIZE_HINTS, for example to allow
      xwayland terminal emulators to be resized to a width/height evenly
      divisible by the cell size. Written-by: @jlindgren90
    - Implement cursor input for overlay popups. Written-by: @Consolatis
    
    - Do not raise xwayland windows when deactivating (issue #270).
      Written-by: @Consolatis
    - Restore drag mouse-bindings and proper double-click (issues #258 and
      #259). Written-by: @Consolatis
    - Implement cursor input for unmanaged xwayland surfaces outside their
      parent view. Without this menus extending outside the main application
      window do not receive mouse input. Written-by: @jlindgren90
    - Allow dragging scrollbar or selecting text even when moving cursor
      outside of the window (issue #241). Written-by: @Consolatis
    - Fix positioning of xwayland views with multiple queued configure
      events. Written-by: @Consolatis
    - Force a pointer enter event on the surface below the cursor when
      cycling views (issue #162). Written-by: @Consolatis
    - Fix qt application crash on touchpad scroll (issue #225).
      Written-by: @Consolatis
  • 0.5.0

    labwc 0.5.0
    
    Compile with wlroots 0.15.1
    
    This release contains the following two breaking changes:
    
    1. Disabling outputs now causes views to be re-arranged, so in the
       context of idle system power management (for example when using
       swaylock), it is no longer suitable to call wlr-randr {--off,--on}
       to enable/disable outputs.
    
    2. The "Drag" mouse-event and the unmaximize-on-move feature require
       slightly different `<mousebind>` settings to feel natural, so suggest
       updating any local `rc.xml` settings in accordance with
       `docs/rc.xml.all`
    
    As usual, this release contains a bunch of fixes and improvements, of
    which the most notable feature-type changes are listed below. A big
    thank you to @ARDiDo, @Consolatis and @jlindgren90 for much of the hard
    work.
    
    - Render overlay layer popups to support sfwbar (issue #239)
    
    - Support HiDPI on-screen-display images for outputs with different scales
    
    - Reload environment variables on SIGHUPi (issue #227)
    
    - Add client menu
    
    - Allow applications to start in fullscreen
    
    - Add config option `<core><cycleViewPreview>` to preview the contents
      of each view when cycling through them (for example using alt-tab).
    
    - Allow mouse movements to trigger SnapToEdge. When dragging a view, move
      the cursor outside an output to snap in that direction.
    
    - Unmaximize on Move
    
    - Support wlroots environment variable WLR_{WL,X11}_OUTPUTS for running
      in running nested in X11 or a wlroots compositor.
    
    - Support pointer gestures (pinch/swipe)
    
    - Adjust views to account for output layout changes
    
    Full `git shortlog` below
    
    ARDiDo (12):
          decorations: use view_apply_maximized_geometry instead of view_maximize
          fullscreen: ignore decorations and maximize requests while fullscreen
          Prevent views from starting in fullscreen
          mouse: add support for drag mouse event
          labwc-config: fix spelling mistake
          mousebindings: change default focus and raise to press from drag.
          mousebindings: use available resize edges first in drag actions
          xdg: Allow wayland applications to start in fullscreen
          xwayland: Allow xorg applications to start in fullscreen
          CSD: Fix no fullscreen at startup in some applications without ssd
          OSD: Scale OSD to the largest output scale
          OSD: Use separate OSD texture for each output
    
    Consolatis (18):
          config/keybind.c: Don't overwrite the stack
          Rewrite action handling to allow multiple actions at once
          More robust rc.xml parsing
          Unmaximize on Move
          Allow mouse movements to trigger SnapToEdge
          CodeStyle
          Short term solution to prevent segfaulting on TTY switch. See #206.
          Centralize freeing of action lists
          config/rcxml: Prevent overwriting action argument
          src/ssd.c: Clarify button dimension calculations
          Add window menu
          Add WindowMenu button
          src/output.c: fix debug flag for full frame damage
          Move is_button() into src/ssd.c and make it public
          Use proper enum argument type for desktop_surface_and_view_at
          src/cursor.c: Reduce damage on button hover detection
          Add missing docs for mouse window snapping
          Reload environment on SIGHUP. Partly fixes #227
    
    Johan Malm (19):
          Update NEWS.md
          README.md: update acceptance criteria URL
          keyboard: cancel repeat when handling key-bind
          cursor.c: fix coding style
          desktop: simplify desktop_focus_and_activate_view()
          docs/autostart: remove wlr-randr {--off,--on}
          wlroots.wrap: add .git to url to avoid redirection warning
          action.{c,h}: fix coding style
          Move action() prototype from labwc.h to action.h
          seat: support WLR_{WL,X11}_OUTPUTS >= 2
          view: fix bug in view_snap_to_edge()
          view: adjust views safety following layout change
          desktop: correctly forward cursor motion-event to layer-popup surfaces
          ssd: do not render resize cursors over exclusive layer-shell clients
          ssd: revert last commit
          cursor: revert 6651d; remove cursor_update_focus()
          cursor: cursor_rebase() on mouse scroll
          wlroots.wrap: use 0.15.1
          output: render overlay lay popups
    
    John Lindgren (4):
          Adjust views to account for output layout changes
          cursor: Don't allow a DRAG action to start from a double-click
          cursor: More reliably clear "pressed" status of mouse bindings
          view: Handle maximized view on disabled output more simply
    
    Liam Middlebrook (1):
          output: Add option to preview the contents of the current cycle_view
    
    Michael Weiss (1):
          build: Relax the version constraint for wlroots to accept patch releases
    
    bi4k8 (2):
          factor keyboard/cursor cleanup into own functions
          cursor: support pointer gestures (pinch/swipe)
    
    hype3 (2):
          Update README.md
          Update README.md
  • 0.4.0

    labwc 0.4.0
    
    Compile with wlroots 0.15.0
    
    This release contains lots of internal changes, fixes and  new features.
    A big thank you goes out to @ARDiDo, @bi4k8, @Joshua-Ashton,
    @jlindgren90, @Consolatis, @telent and @apbryan. The most notable
    feature-type changes are listed below:
    
    - The config option `<lab><xdg_shell_server_side_deco>` has changed to
      `<core><decoration>` (breaking change)
    - Add support for the following wayland protocols:
        - `pointer_constraints` and `relative_pointer` - mostly for gaming.
          Written-by: @Joshua-Ashton
        - `viewporter` - needed for some games to fake modesets.
          Written-by: @Joshua-Ashton
        - `wlr_input_inhibit`. This enables swaylock to be run.
          Written-by: @telent
        - `wlr_foreign_toplevel`. This enables controlling windows from clients
          such as waybar.
        - `idle` and `idle_inhibit` (Written-by: @ARDiDo)
    - Support fullscreen mode.
    - Support drag-and-drop. Written-by: @ARDiDo
    - Add the following config options:
        - Load default keybinds on `<keyboard><default />`
        - `<keyboard><repeatRate>` and `<keyboard><repeatDelay>`
        - Specify distance between views and output edges with `<core><gap>`
        - `<core><adaptiveSync>`
        - Set menu item font with `<theme><font place="MenuItem">`
        - Allow `<theme><font>` without place="" attribute, thus enabling
          simpler config files
        - Support `<mousebind>` with `contexts` (e.g. `TitleBar`, `Left`,
          `TLCorner`, `Frame`), `buttons` (e.g. `left`, `right`), and
          `mouse actions` (e.g. `Press`, `DoubleClick`). Modifier keys are
          also supported to handle configurations such as `alt` + mouse button
          to move/resize windows. (Written-by: @bi4k8, @apbryan)
        - `<libinput>` configuration. Written-by: @ARDiDo
        - `<resistance><screenEdgeStrength>`
    - Support for primary selection. Written-by: @telent
    - Support 'alt-tab' on screen display when cycling between windows
      including going backwards by pressing `shift` (Written-by: @Joshua-Ashton)
      and cancelling with `escape` (Written-by: @jlindgren90)
    - Add the following theme options:
        - set buttons colors individually (for iconify, close and maximize)
        - `window.(in)active.label.text.color`
        - `window.label.text.justify`
        - OSD colors
    - Show application title in window decoration title bar
    - Handle double click on window decoration title bar
    - Support a 'resize-edges' area that is wider than than the visible
      window decoration. This makes it easier to grab edges to resize
      windows.
    - Add window actions 'MoveToEdge', 'ToggleMaximize', 'Close', 'Iconify',
      'ToggleDecorations', 'ToggleFullscreen', 'SnapToEdge', 'Focus', 'Raise',
      'Move', 'MoveToEdge', 'Resize', 'PreviousWindow', 'ShowMenu'
    - Add labwc.desktop for display managers
    - layer-shell:
        - Take into account exclusive areas of clients (such as panels) when
          maximizing windows
        - Support popups
    - Handle xwayland `set_decorations` and xdg-shell-decoration requests.
      Written-by: @Joshua-Ashton
    - Handle view min/max size better, including xwayland hint support.
      Written-by: @Joshua-Ashton
    - Handle xwayland move/resize events. Written-by: @Joshua-Ashton
    - Support audio and monitor-brightness keys by default
    - Catch ctrl-alt-F1 to F12 to switch tty
    - Support `XCURSOR_THEME` and `XCURSOR_SIZE` environment variables
    - Support submenus including inline definitions
  • 0.3.0

    d38d1a9b · labwc 0.3.0 ·
    labwc 0.3.0
    
    Compile with wlroots 0.14.0
    
    - add config options <focus><followMouse> and <focus><raiseOnFocus>
      (provided-by: Mikhail Kshevetskiy)
    - stop trying to use Clearlooks-3.4 theme by default, just use built-in theme
    - fix Qt application segfault
  • 0.2.1

    labwc 0.2.1
    
    Fix meson.build
  • 0.2.0

    fd4ea354 · labwc 0.2.0 ·
    labwc 0.2.0
    
    Compile with wlroots 0.13.0
    
    - support wlr-output-management protcol for setting output position, scale
      and orientation with kanshi or similar
    - config:
      - add `<theme><cornerRadius>` for window decoration rounded corners
    - theme:
      - update built-in colors to match default GTK style
      - add window.(in)active.border.color
      - add border.width
    - add labwc-environment(5)
    - call `wlr_output_enable_adaptive_sync()` if `LABWC_ADAPTIVE_SYNC` set
  • 0.1.0

    labwc 0.1.0
    
    Compile with wlroots 0.12.0 and wayland-server >=1.16
    
    This first release supports the following:
    - xdg-shell
    - optionally xwayland-shell
    - xbm buttons for maximize, iconify and close
    - layer-shell protocol (partial)
    - damage tracking to reduce CPU usage
    - very basic root-menu implementation
    - config and theme re-load on SIGHUP
    - openbox style autostart and environment files
    - 3 configuration options (openbox compatible)
      - `<theme><name>`
      - `<theme><font place="activewindow">`
      - `<keyboard><keybind>`
    - 9 themes options (openbox compatible)
      - `window.active.title.bg.color`
      - `window.active.handle.bg.color`
      - `window.inactive.title.bg.color`
      - `window.active.button.unpressed.image.color`
      - `window.inactive.button.unpressed.image.color`
      - `menu.items.bg.color`
      - `menu.items.text.color`
      - `menu.items.active.bg.color`
      - `menu.items.active.text.color`
    - 5 actions (openbox compatible)
      - `<action name="Execute"><command>`
      - `<action name="Exit">`
      - `<action name="NextWindow">`
      - `<action name="Reconfigure">`
      - `<action name="ShowMenu"><menu>`