|
Lines 1035-1040
QSize Client::sizeForClientSize( const Q
Link Here
|
| 1035 |
w = QMAX( min_size.width(), w ); |
1035 |
w = QMAX( min_size.width(), w ); |
| 1036 |
h = QMAX( min_size.height(), h ); |
1036 |
h = QMAX( min_size.height(), h ); |
| 1037 |
|
1037 |
|
|
|
1038 |
int w1 = w; |
| 1039 |
int h1 = h; |
| 1038 |
int width_inc = xSizeHint.width_inc; |
1040 |
int width_inc = xSizeHint.width_inc; |
| 1039 |
int height_inc = xSizeHint.height_inc; |
1041 |
int height_inc = xSizeHint.height_inc; |
| 1040 |
int basew_inc = xSizeHint.min_width; // see getWmNormalHints() |
1042 |
int basew_inc = xSizeHint.min_width; // see getWmNormalHints() |
|
Lines 1154-1159
QSize Client::sizeForClientSize( const Q
Link Here
|
| 1154 |
w += xSizeHint.base_width; |
1156 |
w += xSizeHint.base_width; |
| 1155 |
h += xSizeHint.base_height; |
1157 |
h += xSizeHint.base_height; |
| 1156 |
} |
1158 |
} |
|
|
1159 |
// disobey increments and aspect when maximized |
| 1160 |
if( maximizeMode() & MaximizeHorizontal ) |
| 1161 |
w = w1; |
| 1162 |
if( maximizeMode() & MaximizeVertical ) |
| 1163 |
h = h1; |
| 1157 |
|
1164 |
|
| 1158 |
w += border_left + border_right; |
1165 |
w += border_left + border_right; |
| 1159 |
h += border_top + border_bottom; |
1166 |
h += border_top + border_bottom; |