Skip to content

st: Drop explicit Clutter grab in StButton

Nowadays, Clutter knows what an implicit grab is, which gives us already the feel that we are after with buttons (e.g. press and drag on the button will not enter other actors meanwhile).

ClutterGrab was only added to provide that feel meanwhile, and it's also slightly more intense (e.g. altering keyboard focus, or triggering leave events on all parents of the button) which may trigger side effects.

An example is the IBus candidates popup, where the pagination buttons may indirectly trigger dismissing of the entire popup when interacted, by stealing the keyboard focus to the client/actor doing IM.

Related: !2497 (merged) Closes: mutter#2244 (closed)

Merge request reports