[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeartwork/kwin-styles/icewm
From:       Sandro Giessl <ceebx () users ! sourceforge ! net>
Date:       2003-10-07 15:17:03
[Download RAW message or body]

CVS commit by giessl: 

IceWM port to kwin_iii finished.


  M +11 -6     icewm.cpp   1.31


--- kdeartwork/kwin-styles/icewm/icewm.cpp  #1.30:1.31
@@ -601,5 +601,5 @@ bool ThemeHandler::isFrameValid()
 
 // Resets the theme, and re-clients all kwin's wrapped windows.
-bool ThemeHandler::reset( unsigned long changed )
+bool ThemeHandler::reset( unsigned long)
 {
         initialized = false;
@@ -610,5 +610,5 @@ bool ThemeHandler::reset( unsigned long 
         initialized = true;
 
-        // FIXME: don't always reset the client hardly...
+        // recreate all clients
         return true;
 }
@@ -869,5 +869,5 @@ void IceWMClient::addClientButtons( cons
                                                 hb->addWidget( button[BtnMinimize] );
                                                 connect( button[BtnMinimize], SIGNAL(clicked()),
-                                                                 this, SLOT(iconify()));
+                                                                 this, SLOT(minimize()));
                                         }
                                         break;
@@ -984,6 +984,11 @@ void IceWMClient::borders(int& left, int
         left = borderSizeX;
         right = borderSizeX;
-        top = titleBarHeight;
+        if( titleBarOnTop ) {
+                top = titleBarHeight + borderSizeY;
         bottom = borderSizeY;
+        } else {
+                top = borderSizeY;
+                bottom = titleBarHeight + borderSizeY;
+        }
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic