@xulongzhe/clawbench-desktop-linux-x64-payload 0.108.0 → 0.109.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xulongzhe/clawbench-desktop-linux-x64-payload",
3
- "version": "0.108.0",
3
+ "version": "0.109.0",
4
4
  "description": "ClawBench desktop client — Linux x64 incremental-upgrade payload (app files only, no Electron runtime)",
5
5
  "files": [
6
6
  "payload.json",
Binary file
@@ -1542,6 +1542,29 @@
1542
1542
  </style>
1543
1543
  </head>
1544
1544
  <body>
1545
+ <!-- Decorative background. MUST stay FIRST in the body.
1546
+
1547
+ Chromium decides the `-webkit-app-region` of a point by walking the DOM,
1548
+ and the LAST element in DOM order whose box covers the point wins — NOT
1549
+ the topmost by paint order, and `pointer-events: none` does NOT exempt an
1550
+ element from this hit test. The page sets `-webkit-app-region: drag` on
1551
+ <body> (the frameless window's only drag handle), so these two full-screen
1552
+ layers inherit `drag` and, when they come last, swallow every click over
1553
+ the whole viewport: the splash's cancel button and the version gate's
1554
+ buttons all went dead while `elementsFromPoint` still reported the button
1555
+ on top. Elements AFTER them (`.window-close`, the login form) kept working,
1556
+ which is what made the failure look like a frozen dialog rather than a
1557
+ layout problem.
1558
+
1559
+ Keeping them first means every interactive overlay that follows wins the
1560
+ hit test, while empty areas still resolve to a `drag` region so the window
1561
+ remains movable. Verified against a real Electron 44 runtime under Xvfb +
1562
+ a window manager: with the old order the gate buttons receive zero events;
1563
+ with this order they fire, and a drag on an empty area still moves the
1564
+ window. -->
1565
+ <div class="bg-gradient"></div>
1566
+ <div class="bg-grid"></div>
1567
+
1545
1568
  <!-- Splash overlay (?splash=1). Rendered by the main process as a native
1546
1569
  WebContentsView floating above the app while it connects and boots; see
1547
1570
  desktop/src/main/splash.ts. Hidden unless the query flag is present. -->
@@ -1571,9 +1594,6 @@
1571
1594
  </div>
1572
1595
  </div>
1573
1596
 
1574
- <div class="bg-gradient"></div>
1575
- <div class="bg-grid"></div>
1576
-
1577
1597
  <!-- Window close, for the frameless Windows/Linux shell.
1578
1598
  This document has no AppHeader, so it is the ONLY way to close the window
1579
1599
  on first run or when the server is unreachable — without it the window