Struct WindowState
Defined in File view-state.h
Struct Documentation
-
struct WindowState
An owned selection made on the platform owner; focus is unknown when unsupported.
See also
Public Functions
-
bool operator==(const WindowState&) const = default
Public Members
-
std::uint64_t source = 0
Checked source identity after session reservation; zero before reservation.
-
std::uint64_t session = 0
Checked runtime session identity; not a native window ID.
-
std::uint64_t revision = 0
Advances on the initial selection and logical/pixel/supported-focus changes.
-
CE::Platform::Dimensions<int> logical_size = {0, 0}
Copied window coordinates, independent of framebuffer pixels.
-
CE::Platform::FramebufferSize framebuffer_size = {0, 0}
Copied drawable pixels; zero extents can suppress drawing.
-
std::optional<bool> focused
Native window focus when supported; unrelated to keyboard routing ownership.
-
bool initialized = false
A platform baseline has been selected.
-
bool operator==(const WindowState&) const = default