D27822: Introduce AbstractClient::createDecoration()

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.

REVISION SUMMARY
  We have duplicated code in InternalClient and XdgShellClient to create
  decorations. In order to get rid of the code duplication, this change
  introduces a method that AbstractClient subclasses can call to create
  a window decoration.

TEST PLAN
  Tests pass.

REPOSITORY
  R108 KWin

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

AFFECTED FILES
  abstract_client.cpp
  abstract_client.h
  internal_client.cpp
  internal_client.h
  x11client.h
  xdgshellclient.cpp
  xdgshellclient.h

To: zzag, #kwin
Cc: kwin, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, 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.