DRAGONFRUIT PROJECT Wayland compositor · Linux Codeberg repository ↗
dragonfruitWayland compositor

Compositor overview

An infinite canvas with a pannable, zoomable camera

Compositor overview

Dragonfruit replaces Mango's tiling layouts with an infinite canvas. Windows live on a 2D plane, and the screen is a camera that you pan and zoom. Everything else is still Mango.

SECTION 02 · Compositor & desktop
Scope: Core Model
Repository and source ↗

The canvas

  • The canvas is the only layout. setlayout and switch_layout still parse but do nothing.
  • Each tag has its own canvas and camera.
  • Zoom only goes out. 100% is the maximum.
  • New windows are placed by canvas_placement: center or an auto mode.
  • A drag released near another window snaps beside it, with the usual gap.

Project scope note
Dragonfruit stays a drop-in replacement for Mango: a stock Mango config works unchanged, and the canvas only adds canvas_* keys.

Moving around

ActionCommand
Pancanvas_pan
Grab and fling the planecanvas_drag
Zoomcanvas_zoom, canvas_zoom_in, canvas_zoom_out
Go to the focused windowcanvas_center_window
Return to the origincanvas_reset_camera
Compressed view of every windowcanvas_overview
Same view with letterscanvas_jump
Tidy the windows into a gridcanvas_cascade
Drag a box to open a program in itcanvas_dragspawn

Workspace overview and switcher

The Mango workspace overview (toggleworkspaceoverview) shows each tag as a preview and lets you drag windows between them. switcher cycles through windows with thumbnails. The old Mango grid overview commands now open the canvas overview.

← Previous

Troubleshooting

Next →

Windows & surfaces