diff options
| -rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1903,7 +1903,7 @@ motionnotify(uint32_t time, struct wlr_input_device *device, double dx, double d return; } else if (cursor_mode == CurResize) { resize(grabc, (struct wlr_box){.x = grabc->geom.x, .y = grabc->geom.y, - .width = ROUND(cursor->x) - grabc->geom.x, .height = ROUND(cursor->y) - grabc->geom.y}, 1, 1); + .width = (int)round(cursor->x) - grabc->geom.x, .height = (int)round(cursor->y) - grabc->geom.y}, 1, 1); return; } |
