chandra-ctl windows: how Chandra sees each window, and what the pointer is over
CI / test (push) Canceled after 7m7s

For "this window won't resize" reports (V's Gajim still not resizing on real hardware,
while a libadwaita window built like Gajim's resizes headless on both hosts): one line per
window with its frame kind (client-frame / chandra-frame), layout state (floating, tiled,
maximized, fullscreen), box, buffer, the client's shadow per side, min/max size and title,
then the pointer position and what it's over (a resize grip and which edge, a window, a
title bar, a tiling divider, the panel, the desktop).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiu4r7mEXBdKY6cgv6
This commit is contained in:
Claude committed 2026-11-26 04:39:45 +00:00
1 parent db442879f5
commit ff6f733810
4 files changed
+123 -1

No files matched your search

+2 -1
View File
@@ -7,6 +7,7 @@
chandra-ctl ping check the compositor answers
chandra-ctl shortcut ID do what a keyboard shortcut does (overview, launcher, show-desktop...)
chandra-ctl kiosk [lock|unlock|status] kiosk mode (--kiosk, docs/kiosk.md)
chandra-ctl windows how Chandra sees each window, and what is under the pointer
The socket is $XDG_RUNTIME_DIR/chandra/<wayland socket name>.sock (the session's is
wayland-moon-0.sock). It is found in this order: --socket PATH, $CHANDRA_CONTROL, the one for
@@ -19,7 +20,7 @@ import os
import socket
import sys
USAGE = "usage: chandra-ctl [--socket PATH] [--quiet] {reload [NAME] | list | ping | shortcut ID | kiosk [lock|unlock|status] | help}"
USAGE = "usage: chandra-ctl [--socket PATH] [--quiet] {reload [NAME] | list | ping | shortcut ID | kiosk [lock|unlock|status] | windows | help}"
def runtime_dir():