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

List:       kde-commits
Subject:    kdebase/kwin
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2005-02-28 13:44:20
Message-ID: 20050228134420.2F745148A2 () office ! kde ! org
[Download RAW message or body]

CVS commit by lunakl: 

Prefer keeping fixed width when keeping aspect ratio.
BUG: 87298


  M +3 -0      geometry.cpp   2.103


--- kdebase/kwin/geometry.cpp  #2.102:2.103
@@ -1122,4 +1122,6 @@ QSize Client::sizeForClientSize( const Q
             {
             case SizemodeAny:
+#if 0 // make SizemodeAny equal to SizemodeFixedW - prefer keeping fixed width,
+      // so that changing aspect ratio to a different value and back keeps the same size (#87298)
                 {
                 ASPECT_CHECK_SHRINK_H_GROW_W
@@ -1129,4 +1131,5 @@ QSize Client::sizeForClientSize( const Q
                 break;
                 }
+#endif
             case SizemodeFixedW:
                 {


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

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