diff --git a/kiwmi/input/cursor.c b/kiwmi/input/cursor.c index 78b986c..8475b78 100644 --- a/kiwmi/input/cursor.c +++ b/kiwmi/input/cursor.c @@ -42,8 +42,8 @@ process_cursor_motion(struct kiwmi_server *server, uint32_t time) } case KIWMI_CURSOR_RESIZE: { struct kiwmi_view *view = cursor->grabbed.view; - int dx = cursor->cursor->x - cursor->grabbed.orig_x; - int dy = cursor->cursor->y - cursor->grabbed.orig_y; + int dx = cursor->cursor->x - cursor->grabbed.orig_x; + int dy = cursor->cursor->y - cursor->grabbed.orig_y; struct wlr_box new_geom = { .x = view->x,