swayfx-mosaic/tooling/probes/step20c-static-e2-completion/placement.patch
fy59 4ef16a4019 test(mosaic): qualify static nested standard return and integration readiness
E2 is FEASIBLE for the measured matrix. The initial private integration candidate is BUILDABLE; its accepted comment delta is NOT REBUILT. STEP20C remains NEXT and production multi-output remains NOT YET SUPPORTED.
2026-10-13 22:28:14 +02:00

16 lines
733 B
Diff

--- a/nested-client.c
+++ b/nested-client.c
@@ -205,7 +205,12 @@
int main(int argc,char **argv) {
signal(SIGTERM,stop);
const char *placement=argc>1?argv[1]:"b_cross";
- if (!strcmp(placement,"visible")) {
+ /* EXPERIMENTAL: only placement changes; serial/grab/lifecycle stay historical.
+ * Both 1x1 anchors lie inside their parent SHM window geometry. */
+ if (!strcmp(placement,"static_cross")) {
+ a.anchor_x=100; a.anchor_y=80; a.width=350;
+ b.anchor_x=100; b.anchor_y=60; b.width=300;
+ } else if (!strcmp(placement,"visible")) {
a.anchor_x=50; a.anchor_y=80; a.width=250;
b.anchor_x=20; b.anchor_y=60; b.width=170;
} else if (!strcmp(placement,"both_cross")) {