From b35a7f03e978e11aa91abd775f674b058e3a21cd Mon Sep 17 00:00:00 2001 From: Smriti Khanal Date: Wed, 31 Dec 2025 12:01:11 +0545 Subject: [PATCH] Fixed offset not applying --- src/mango.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mango.c b/src/mango.c index 6726a6c..1ba59e7 100644 --- a/src/mango.c +++ b/src/mango.c @@ -1380,7 +1380,7 @@ void applyrules(Client *c) { if (r->offsetx || r->offsety || r->width > 0 || r->height > 0) { hit_rule_pos = r->offsetx || r->offsety ? true : false; c->iscustomsize = 1; - c->float_geom = setclient_coordinate_center(c, c->float_geom, + c->float_geom = c->geom = setclient_coordinate_center(c, c->float_geom, r->offsetx, r->offsety); } if (c->isfloating) {