diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-07-07 19:05:08 +0530 | 
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-07-07 19:05:08 +0530 | 
| commit | b146bfe7964bad0864dbe0b706bac2d68a5d7e2b (patch) | |
| tree | c0cea7db4751ce916d92af78e6e05653e2d2aebc | |
| parent | e36173456fbdea12375793cf692a2bda578f80b2 (diff) | |
fix
| -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;  	}  | 
