Released24 Sep 2026Commit66938b49Line0.11.xLateston its line

v0.11.0

The window: its size, fullscreen, and the monitor

Notes

A program over sigil-desktop can now size its window, go fullscreen and come back, and ask how big the monitor is. A pixel-art game can open a small window at a whole-number scale, snap resizes to the next scale, and letterbox fullscreen, without its own GLFW code.

Changes

  • (window-set-size! w h) asks for a window of that size in screen units. While fullscreen it sets the size the window comes back to. A tiling window manager may not grant it, so read (frame-width) and (frame-height) afterwards.
  • (set-fullscreen! on?) takes the whole of the monitor the window is mostly on, at that monitor's own video mode (no resolution change), and goes back to the saved windowed size and position. (fullscreen?) answers which.
  • (monitor-size) gives (width height) of that monitor.
  • On Wayland, which does not report window positions, the monitor is the primary one and the windowed position is left to the compositor.

All four answer #f when there is no window.

Commit

66938b49

The commit this tag names.

Releases