From a43fea2434d71a3395b8380bbb792aa6fd381329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 12 Jan 2004 14:01:39 +0000 Subject: [PATCH] Add a note about avoiding #71531. svn path=/trunk/kdebase/kwin/; revision=279071 --- clients/PORTING | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clients/PORTING b/clients/PORTING index fae6dd4c57..f0d4149d52 100644 --- a/clients/PORTING +++ b/clients/PORTING @@ -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