D17546: Remove no longer needed cast to Client in Workspace::sendClientToDesktop

Martin Flöser <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
graesslin created this revision.
graesslin added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
graesslin requested review of this revision.

REVISION SUMMARY
  This change removes a small difference between X11 and Wayland clients.
  It ensures that all transients are sent to the same desktop as the main
  window. A similar check is already in AbstractClient::setDesktop, so in
  general it already worked. This is just a special case for
  sendClientToDesktop which supports sending to the same desktop so that
  all transients are sent to that desktop.

TEST PLAN
  New test case which fails without this change

REPOSITORY
  R108 KWin

BRANCH
  send-client-to-desktop-abstract-client

REVISION DETAIL
  https://phabricator.kde.org/D17546

AFFECTED FILES
  autotests/integration/shell_client_test.cpp
  workspace.cpp

To: graesslin, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.