Commit graph

7 commits

Author SHA1 Message Date
6b4418ae4f feat: serve xdg-decoration-v1 pinned client-side
Every tab is maximized and kick draws no frames, so new toplevels
are pinned to client-side mode (headerbars keep working) and later
server-side requests are ignored. Pinning happens at map -- set_mode
asserts on a never-committed surface, and decoration-before-commit is
the normal order (calling it in new_toplevel_decoration aborts
wlroots); late binds pin immediately when already initialized.

Adds an xdeco probe (maps one shm-backed toplevel, reports the
configured mode) with a regression test asserting mode=1, tracks it
in build.sh staleness, and covers the global in protocol_globals.
Full suite: 153 passed, 2 skipped.
2026-09-10 03:08:18 +10:00
5a9464c454 build: add a 'release' target for an optimized, stripped binary
./build.sh release builds into build-release/ with --buildtype=release
and strips the binary in place (meson's strip only applies on install),
yielding a ~270KB binary for size benchmarking against distro
compositors like labwc.  The default ./build.sh debug path and the
build/ tree used by the test suite are untouched.
2026-09-04 13:07:40 +10:00
8b02869942 build: touch binaries after compile to stop perpetual rebuilds 2026-09-01 10:53:53 +10:00
658b553840 fix build.sh: exclude .wraplock from stale-source check
meson setup --reconfigure touches subprojects/.wraplock every run,
making it newer than build/kick and triggering an infinite rebuild
loop.  The file is meson housekeeping, not a real source dependency.
2026-08-27 09:25:11 +10:00
7db91f9d60 make test scripts build first; keep build.sh incremental
Running pytest against a stale build/ binary silently proved nothing:
test.sh and test-headless.sh now run build.sh first, and build.sh
skips meson setup/compile when both binaries are newer than their
sources (tracked per program: kick.c feeds kick, tests/wltest.c feeds
wltest, meson.build and subprojects feed both).
2026-08-19 16:02:20 +10:00
3ccae6cbe1 rename project to kick (repo, binary, socket, env) 2026-08-19 11:46:25 +10:00
c8ea4c36a3 Add build.sh wrapper for meson build 2026-08-09 21:07:51 +10:00