clutter/stage: Use own list of pointer devices to find updated devices
Due to a few reasons currently the updating of input devices after stage relayouts isn't working right now. Since we now have a list of pointer devices in ClutterStage, we can simply use that list and can avoid asking the input thread. Also we no longer need to check whether the devices are pointer devices, since our list only consists of pointer devices. So switch to ClutterStages private list of pointer devices, which also includes the core pointer (as opposed to the list returned by clutter_seat_peek_devices()). This fixes picking after relayouts. Note that this doesn't catch every possible change that might need a repick, actors might also need a repick after transformation changes or in case their custom clip has been changed.
Showing with 10 additions and 39 deletions