D22255: Fix maximize Apply Now rule

Vlad Zagorodniy <[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
  AbstractClient applies maximize rules by running
  
    maximize(maximizeMode());
  
  but because window rules are checked only in changeMaximize
  implementation, the if statement prevents us from applying maximize
  rules (m and maximizeMode() are equal).

REPOSITORY
  R108 KWin

BRANCH
  make-maximize-apply-now-rules-work

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

AFFECTED FILES
  geometry.cpp

To: zzag, #kwin
Cc: kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, 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.