[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kwin/clients/b2
From: Luciano Montanaro <mikelima () cirulla ! net>
Date: 2004-07-28 16:44:43
Message-ID: 20040728164443.846A399DB () office ! kde ! org
[Download RAW message or body]
CVS commit by montanaro:
Fixed maximized border handling.
M +10 -2 b2client.cpp 1.81
M +1 -1 b2client.h 1.40
--- kdebase/kwin/clients/b2/b2client.cpp #1.80:1.81
@@ -497,4 +497,14 @@ void B2Client::addButtons(const QString&
}
+bool B2Client::mustDrawHandle() const
+{
+ bool drawSmallBorders = !options()->moveResizeMaximizedWindows();
+ if (drawSmallBorders && (maximizeMode() & MaximizeVertical)) {
+ return false;
+ } else {
+ return draw_handle && isResizable();
+ }
+}
+
void B2Client::iconChange()
{
--- kdebase/kwin/clients/b2/b2client.h #1.39:1.40
@@ -132,5 +132,5 @@ private:
void positionButtons();
void calcHiddenButtons();
- bool mustDrawHandle() const { return draw_handle && isResizable(); }
+ bool mustDrawHandle() const;
enum ButtonType{BtnMenu=0, BtnSticky, BtnIconify, BtnMax, BtnClose,
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic