set_window_position

Function set_window_position 

Source
pub fn set_window_position(
    state: &Arc<AppState>,
    args: &Value,
) -> Result<Value, String>
Expand description

Move the window to an absolute screen position (x, y). Each call is self-contained — no read-modify-write — so concurrent in-flight calls are idempotent: the last write wins, which is exactly correct for drag.