Fixed offset not applying

This commit is contained in:
Smriti Khanal 2025-12-31 12:01:11 +05:45 committed by DreamMaoMao
parent 02a3e053a8
commit 0e1f91b0e6

View file

@ -1387,7 +1387,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) {