some fixes

svn path=/trunk/kdebase/kwin/; revision=33631
This commit is contained in:
Matthias Ettrich 1999-11-13 00:32:36 +00:00
parent ecec648c11
commit b49242a017
2 changed files with 19 additions and 2 deletions

View file

@ -829,11 +829,22 @@ void Client::leaveEvent( QEvent * )
}
/*!
Reimplemented to inform the client about the new window position.
*/
void Client::moveEvent( QMoveEvent * )
void Client::setGeometry( int x, int y, int w, int h )
{
QWidget::setGeometry(x, y, w, h);
sendSynteticConfigureNotify();
}
/*!
Reimplemented to inform the client about the new window position.
*/
void Client::move( int x, int y )
{
QWidget::move( x, y );
sendSynteticConfigureNotify();
}

View file

@ -124,6 +124,13 @@ public:
bool shape() const;
void updateShape();
void setGeometry( int x, int y, int w, int h );
void setGeometry( const QRect &r )
{ setGeometry( r.left(), r.top(), r.width(), r.height() ); }
void move( int x, int y );
void move( const QPoint & p )
{ move( p.x(), p.y() ); }
public slots:
void iconify();
void closeWindow();
@ -139,7 +146,6 @@ protected:
void mouseMoveEvent( QMouseEvent * );
void enterEvent( QEvent * );
void leaveEvent( QEvent * );
void moveEvent( QMoveEvent * );
void showEvent( QShowEvent* );
void hideEvent( QHideEvent* );
bool x11Event( XEvent * ); // X11 event