Skip to content
  • Jonas Dreßler's avatar
    clutter/stage: Use own list of pointer devices to find updated devices · ad65c89d
    Jonas Dreßler authored and Marge Bot's avatar Marge Bot committed
    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.
    
    Part-of: <GNOME/mutter!1634>
    ad65c89d