|
|
|
@ -1303,23 +1303,7 @@ void smoothblendClient::showEvent(TQShowEvent *) {
|
|
|
|
|
|
|
|
|
|
void smoothblendClient::maxButtonPressed() {
|
|
|
|
|
if (button[ButtonMax]) {
|
|
|
|
|
#if TDE_IS_VERSION(3, 3, 0)
|
|
|
|
|
maximize(button[ButtonMax]->lastMousePress());
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
|
|
switch (button[ButtonMax]->lastMousePress()) {
|
|
|
|
|
case MidButton:
|
|
|
|
|
maximize(maximizeMode() ^ MaximizeVertical);
|
|
|
|
|
break;
|
|
|
|
|
case RightButton:
|
|
|
|
|
maximize(maximizeMode() ^ MaximizeHorizontal);
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
(maximizeMode() == MaximizeFull) ? maximize(MaximizeRestore)
|
|
|
|
|
: maximize(MaximizeFull);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|