pub fn window_move_handler(
        &mut self,
        handle: &WindowHandle<H>,
        offset_x: i32,
        offset_y: i32,
    ) -> bool {
        let disable_snap = &self.config.disable_window_snap();
        match self.state.windows.iter_mut().find(|w| w.handle == *handle) {
            Some(w) => {
                process_window(w, offset_x, offset_y);
                if !disable_snap && snap_to_workspace(w, &self.state.workspaces) {
                    self.state.sort_windows();
                }
                true
            }
            None => false,
        }
    }
`window_move_handler` is called when the display server
sends the `DisplayEvent::MoveWindow(handle, offset_x, offset_y)` event.

Returns true if changes need to be rendered.
leftwm-core/src/handlers/window_move_handler.rs