#pragma once #include #include #include namespace WallpaperEngine::Application { class ApplicationContext; } namespace WallpaperEngine::Desktop { /** A window reported by the GNOME extension or KWin script, filtered by WE 2.8's rules (sub_14003D050) */ struct WindowState { enum Flags : uint32_t { Focused = 1, Maximized = 2, /** focused, covers its monitor, not maximized */ Fullscreen = 4, }; std::string appId; /** wl_output name */ std::string output; uint32_t flags = 0; }; /** WE's per monitor pause: true when a pausing window is on one of outputs */ bool pausesAnyOf ( const std::vector& windows, const std::vector& outputs, const Application::ApplicationContext& context ); } // namespace WallpaperEngine::Desktop