• Matthias Clasen's avatar
    immulticontext: Unset client widget on delegate change · 91bcf6f0
    Matthias Clasen authored
    Forgetting to do so was causing the Wayland im context
    to leave behind a dead event controller. This was showing
    up as a crash when closing the inspector after changing
    the im-module property of a GtkText widget. The crash
    was delayed until closing the inspector because the
    inspector keeps a ref on the event controllers of the
    currently shown widget.