Skip to content

Use Clutter.grab()

Carlos Garnacho requested to merge wip/carlosg/grabs-pt2 into main

This MR comes hand in hand with mutter!2099 (merged).

Replace all instances of ClutterInputDevice grabs and global.begin_modal with Clutter.grab(). Utilities like main.pushModal, GrabHelper and PopupMenuManager now work over this new kind of grabs. Since the introduction of these grabs involve differences in how events are delivered and where they are delivered, cater for the differences in the places where this is relevant (e.g. PopupMenuManager).

Merge request reports