Files
komorebi/nix/linux/tests/vm/suites/kwin-events/test.py
T
LGUG2Z f01853ceca refactor(repo): move the KDE and macOS nix files under nix/ (pure move)
komorebi-for-kde/nix/ -> nix/linux/
komorebi-for-mac/nix/ -> nix/macos/

The nix expressions of the platforms (modules, option files, VM test suites, kwin effects,
the darwin module) sit next to the existing nix/workspace-src.nix. Renames only (252
files); the flakes that import them are replaced by one root flake later in this stack, so
nix does not evaluate at this revision.
2026-11-05 15:03:27 -08:00

19 lines
860 B
Python

# The daemon reads a real KWin through its script. What only a real KWin can tell: that the script
# loads and reports the desktop, that KWin's signals reach the window manager as the events
# `komorebi/src/kwin/state.rs` and `komorebi/tests/wm_events.rs` feed it by hand, in the order KWin
# raised them (KWin activates a new window before it announces it), that a window giving itself
# another title is reported, and that it takes its script out of KWin when it stops.
from komorebi_vm import Checks
from komorebi_vm.core.suite import platform_only, run_suite
from komorebi_vm.platforms.kde.extras import kwin_events as kde_kwin_events
start_all()
machine.wait_for_unit("multi-user.target")
machine.wait_for_unit("user@1000.service")
checks = Checks()
run_suite(checks, platform_only("kde", kde_kwin_events.run, machine, checks, SCALE))
checks.finish()