pub struct DockDragDiagnostics {Show 29 fields
pub pointer_id: PointerId,
pub source_window: AppWindowId,
pub current_window: AppWindowId,
pub position: Point,
pub start_position: Point,
pub cursor_grab_offset: Option<Point>,
pub follow_window: Option<AppWindowId>,
pub cursor_screen_pos_raw_physical_px: Option<Point>,
pub cursor_screen_pos_used_physical_px: Option<Point>,
pub cursor_screen_pos_was_clamped: bool,
pub cursor_override_active: bool,
pub current_window_outer_pos_physical_px: Option<Point>,
pub current_window_decoration_offset_physical_px: Option<Point>,
pub current_window_client_origin_screen_physical_px: Option<Point>,
pub current_window_client_origin_source_platform: bool,
pub current_window_scale_factor_x1000_from_runner: Option<u32>,
pub current_window_local_pos_from_screen_logical_px: Option<Point>,
pub current_window_scale_factor_x1000: Option<u32>,
pub kind: DragKindId,
pub dragging: bool,
pub cross_window_hover: bool,
pub payload_ghost_visible: bool,
pub transparent_payload_applied: bool,
pub transparent_payload_hit_test_passthrough_applied: bool,
pub window_under_cursor_source: WindowUnderCursorSource,
pub moving_window: Option<AppWindowId>,
pub moving_window_scale_factor_x1000: Option<u32>,
pub window_under_moving_window: Option<AppWindowId>,
pub window_under_moving_window_source: WindowUnderCursorSource,
}Fields§
§pointer_id: PointerId§source_window: AppWindowId§current_window: AppWindowId§position: PointWindow-local logical cursor position at the time the snapshot was published.
start_position: PointWindow-local logical cursor position when the drag session started.
cursor_grab_offset: Option<Point>Cursor grab offset in window-local logical coordinates (ImGui-style multi-viewport anchor).
follow_window: Option<AppWindowId>The OS window requested to follow the cursor for this drag session (if any).
cursor_screen_pos_raw_physical_px: Option<Point>Best-effort diagnostics hint: raw cursor position in screen-space physical pixels, as observed by the runner.
cursor_screen_pos_used_physical_px: Option<Point>Best-effort diagnostics hint: cursor position in screen-space physical pixels used for local position conversion (may be clamped during scripted injection).
cursor_screen_pos_was_clamped: bool§cursor_override_active: bool§current_window_outer_pos_physical_px: Option<Point>Best-effort diagnostics hint: outer position of current_window in screen-space physical
pixels when routing was computed.
current_window_decoration_offset_physical_px: Option<Point>Best-effort diagnostics hint: decoration offset (client origin relative to outer origin)
in physical pixels for current_window.
current_window_client_origin_screen_physical_px: Option<Point>Best-effort diagnostics hint: computed client origin (screen-space physical px) for
current_window.
current_window_client_origin_source_platform: bool§current_window_scale_factor_x1000_from_runner: Option<u32>Best-effort diagnostics hint: scale factor used by the runner when converting screen physical pixels into window-local logical pixels.
current_window_local_pos_from_screen_logical_px: Option<Point>Best-effort diagnostics hint: local position derived from the screen-space cursor position
- client origin + scale factor.
current_window_scale_factor_x1000: Option<u32>Best-effort diagnostics hint: scale factor (DPI) of current_window at the time the
snapshot was published.
kind: DragKindIdThe drag kind for the active dock drag session.
dragging: bool§cross_window_hover: bool§payload_ghost_visible: boolTrue when the shell-local dock payload ghost should currently paint in this window.
This reflects shell choreography only; it does not imply a native or external drag preview.
transparent_payload_applied: boolTrue when the runner has applied an ImGui-style “transparent payload” treatment to the moving dock window (e.g. click-through/NoInputs while following the cursor).
transparent_payload_hit_test_passthrough_applied: boolBest-effort diagnostics hint: true when the runner successfully applied click-through hit-test passthrough to the moving dock window while transparent payload is enabled.
window_under_cursor_source: WindowUnderCursorSourceBest-effort diagnostics hint: which mechanism was used to select the hovered window during cross-window drag routing (OS-backed vs heuristic).
moving_window: Option<AppWindowId>Best-effort diagnostics hint: OS window currently being moved by the runner for this drag session (ImGui-style “follow window” multi-viewport behavior).
moving_window_scale_factor_x1000: Option<u32>Best-effort diagnostics hint: scale factor (DPI) of Self::moving_window at the time
the snapshot was published.
window_under_moving_window: Option<AppWindowId>Best-effort diagnostics hint: when Self::moving_window is set, the window considered
“under” the moving window at the current cursor position.
window_under_moving_window_source: WindowUnderCursorSourceBest-effort diagnostics hint: which mechanism was used to select
Self::window_under_moving_window.
Trait Implementations§
Source§impl Clone for DockDragDiagnostics
impl Clone for DockDragDiagnostics
Source§fn clone(&self) -> DockDragDiagnostics
fn clone(&self) -> DockDragDiagnostics
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more