mirror of
https://github.com/brl/mutter.git
synced 2025-08-01 14:15:30 +00:00
8d9653dece35df7530d0e6be0b35f4ba932fa4e8

The default focus interface uses the button count to determine whether we should update the pointer focused surface. When releasing an implicit grab, we need to send the button release events to the implicitly grabbed surface, so we can't reset the focus surface too soon. We already explicitly set the focus at the end of implicit grabs, so counting the buttons after is perfectly fine.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%