• Martin Flöser's avatar
    Ensure that WaylandServer::shellClientAdded only gets emitted once · c7828eab
    Martin Flöser authored
    When a shell client got mapped, unmapped and mapped again we emitted
    the shellClientAdded signal in WaylandServer again. This resulted in
    e.g. Workspace, EffectsHandler, etc. to start managing the window again.
    This can be a reason for problems we see with such windows like the
    Plasma panel dialog when opened the second time.
    Test Plan:
    Needs extensive testing on real world system as that changes
    behavior now.
    Reviewers: #kwin, #plasma_on_wayland
    Differential Revision: https://phabricator.kde.org/D1784
wayland_server.cpp 17.4 KB