mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 08:49:30 +00:00
82e02e39d322b8c0c8a79944b6918e62ea901e4d

The code here before was completely wrong. Not only did it mix up coordinate spaces of "client rect" vs. "frame rect", but it used meta_frame_get_frame_bounds, which is specifically for the *visible* bounds of a window! In the case that we don't have a bounding or input shape region at all on the client window, the input shape that we should apply is the surface's natural shape. So, set the region to NULL to get the natural rect picking semantics.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%