mirror of
https://github.com/brl/mutter.git
synced 2025-03-24 04:03:52 +00:00

We need the old rect for two purposes: to find the x/y in a resize-only action, and to pass into the constraints code for nefarious purposes. The constraints code takes a frame rectangle, so we convert the original client rect into a frame rect, but never convert it back since it's unused for the rest of the function. Instead of playing games with the variables, just have two, separately-scoped variables. One is the client rect, the other is the frame rect.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%