transactions: Use correct geometry when adjusting for gravity
It is apparent from the comment following this line, that this was the intention. This fixes a decoration sizing bug with ignore_views matching 'maximized is true'. This can be seen when toggling maximized for apps such as wcm.
Actually, just before I merge this, I figured out that this might not be entirely correct. adjust_geometry_for_gravity changes _pending.geometry to match toplevel_size. Why do you think that this change is needed?
I have explained in the initial comment. Is it not clear how to reproduce the problem? Do you need further explanation or a video?
Actually, just before I merge this, I figured out that this might not be entirely correct. adjust_geometry_for_gravity changes _pending.geometry to match toplevel_size. Why do you think that this change is needed?
I have explained in the initial comment. Is it not clear how to reproduce the problem? Do you need further explanation or a video?
On second thought, I tested this against latest pixdecor and it does not fix the bug, where the size becomes larger, after toggling maximize with ignore_views = maximized is true. I have to look more into it again.