some fixes

svn path=/trunk/kdebase/kwin/; revision=33631
master
Matthias Ettrich 25 years ago
parent ecec648c11
commit b49242a017

@ -829,11 +829,22 @@ void Client::leaveEvent( QEvent * )
}
/*!
Reimplemented to inform the client about the new window position.
*/
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::moveEvent( QMoveEvent * )
void Client::move( int x, int y )
{
QWidget::move( x, y );
sendSynteticConfigureNotify();
}

@ -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

Loading…
Cancel
Save