fixed sizeInc problem with the gimp
svn path=/trunk/kdebase/kwin/; revision=61626
This commit is contained in:
parent
20c1ac608a
commit
ab9c4c5d9b
1 changed files with 9 additions and 2 deletions
|
@ -1059,6 +1059,13 @@ QSize Client::sizeForWindowSize( const QSize& wsize, bool ignore_height) const
|
||||||
w = xSizeHint.base_width;
|
w = xSizeHint.base_width;
|
||||||
if (h < xSizeHint.base_height)
|
if (h < xSizeHint.base_height)
|
||||||
h = xSizeHint.base_height;
|
h = xSizeHint.base_height;
|
||||||
|
} else if ( xSizeHint.flags & PMinSize ) {
|
||||||
|
bw = xSizeHint.min_width;
|
||||||
|
bh = xSizeHint.min_height;
|
||||||
|
if (w < xSizeHint.min_width)
|
||||||
|
w = xSizeHint.min_width;
|
||||||
|
if (h < xSizeHint.min_height)
|
||||||
|
h = xSizeHint.min_height;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (xSizeHint.flags & PResizeInc) {
|
if (xSizeHint.flags & PResizeInc) {
|
||||||
|
|
Loading…
Reference in a new issue