Review Request: Implement Decoration Policy

Martin Gräßlin kde at martin-graesslin.com
Thu Aug 25 19:05:10 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102434/
-----------------------------------------------------------

Review request for kwin and Plasma.


Summary
-------

Implements the decoration policy as described here: http://techbase.kde.org/Projects/KWin/Window_Decoration_Policy

The following changes are performed:
* remove support for motif_nodeco hint
* styled windows get window decorations unless they are keep above (means if you set Chromium to keep above and resize it, the decoration are removed)

This "breaks" Chromium and xeyes with +style. It is still possible to use the normal no-border mode either through Alt+F3 settings or window rule. And it's still possible to hack around through the way how Qt Dock widgets request no deco. This is something I did not change, if application authors find it, I would probably change it as it is marked as a non-standard, non-documented feature ;-)

I would suggest to commit and try it at least in master and see whether it unleashes hell upon us :-)


Diffs
-----

  kwin/client.h 66b9c46 
  kwin/client.cpp a6f0618 

Diff: http://git.reviewboard.kde.org/r/102434/diff


Testing
-------

* Yakuake still is without deco
* All Plasma windows are without deco
* Qt Dock widgets are without deco
* KRuler is without deco
* Chromium is forced to have deco


Thanks,

Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20110825/25ff1c03/attachment.html>


More information about the Plasma-devel mailing list