mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-24 08:00:42 +02:00
Brave's Flatpak opens an X11 window with no app id, class Brave-browser, and a pid inside its sandbox, so neither the process nor the desktop file name matched and it opened docked (2026-10-13). desktop_name now finds a window's desktop file by its app id, else by its class: StartupWMClass, the desktop file's name or its last dotted part, or the program it runs (Flatpak's --command=). As a last resort, a window no desktop file claims floats as the launch's when exactly one launch is waiting. The same name keys floating places, spotlist and profiles (a profile now relaunches such an app by its desktop file, not a sandbox pid's command line). Answers are cached for a minute. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>