mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 07:34:09 +00:00
Jasper St. Pierre
c2abe43ee7
window: Only update the unconstrained rect when we actually moved/resized
Since Wayland configures are more of a hint to the client than anything, we don't want to save the unconstrained rect when we're just hinting to the client that it should resize, since it could ignore us. This would get us stuck in a loop, since meta_window_move_resize_now would use the unconstrained_rect to resize, and we don't remove the resize from the queue if we have an outstanding request like that. This fixes a bunch of traffic / CPU usage when trying to resize weston-terminal.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%