Add a note about avoiding #71531.

svn path=/trunk/kdebase/kwin/; revision=279071
This commit is contained in:
Luboš Luňák 2004-01-12 14:01:39 +00:00
parent d96fb45f4b
commit a43fea2434

View file

@ -106,6 +106,10 @@ inline const KDecorationOptions* options() { return KDecoration::options(); }
means that there's also no maximize() slot).
Also, if your decoration button has only two visual states representing the maximalization state,
it's recommended that it shows the maximized state only for MaximizeFull state.
- Make sure the decoration matches the window state after init() is finished, that is, that
the buttons represent correctly the maximalization, on-all-desktops etc. states. As the
simplest solution, you can call maximizeChange(), desktopChange(), etc. at the end
of init().
- Use 'titlebarDblClickOperation()' for performing the application after doubleclicking
the titlebar.
- Implement borders() returning the width of the top,left,right and bottom border. You may