qDebug()<<"repaint"<<"frame"<<frameRect()<<"geometry"<<geometry();
QRect geo;
geo = geometry();
if( geo != geometry() ) setGeometry( geo );
void screenWasLocked(){ geo = geometry(); }
void screenIsLocked();
void appStateChanged(Qt::ApplicationState state){ if( state == Qt::ApplicationSuspended ) emit screenIsLocked();}
connect(QApplication::instance(), SIGNAL(applicationStateChanged(Qt::ApplicationState)), SLOT(appStateChanged(Qt::ApplicationState)));