• Martin Flöser's avatar
    [server] Fix crash on updating focused keyboard surface · 4f100d2a
    Martin Flöser authored
    In case the current selection does not have a DataSourceInterface
    updating the focused keyboard surface resulted in a crash. The current
    selection is sent to the DataDeviceInterface of the newly focused
    client and thus a DataOfferInterface would be created for a null
    This is a similar fix as D3148 and D3149.
    Test Plan: Test case added which used to crash before
    Reviewers: #plasma_on_wayland
    Subscribers: plasma-devel
    Tags: #plasma_on_wayland
    Differential Revision: https://phabricator.kde.org/D3150
test_wayland_seat.cpp 83 KB