opt: reset float geom record when remap

This commit is contained in:
DreamMaoMao
2025-12-19 17:34:29 +08:00
parent e26e477d6b
commit 9aa8dab8ac

View File

@@ -3730,6 +3730,10 @@ void init_client_properties(Client *c) {
c->force_tearing = 0; c->force_tearing = 0;
c->allow_shortcuts_inhibit = SHORTCUTS_INHIBIT_ENABLE; c->allow_shortcuts_inhibit = SHORTCUTS_INHIBIT_ENABLE;
c->scroller_proportion_single = 0.0f; c->scroller_proportion_single = 0.0f;
c->float_geom.width = 0;
c->float_geom.height = 0;
c->float_geom.x = 0;
c->float_geom.y = 0;
} }
void // old fix to 0.5 void // old fix to 0.5