diff --git a/twin/client.cpp b/twin/client.cpp index d76dda619..75aa896d4 100644 --- a/twin/client.cpp +++ b/twin/client.cpp @@ -99,6 +99,7 @@ Client::Client( Workspace *ws ) decoration( NULL ), wspace( ws ), bridge( new Bridge( this )), + inhibitConfigureRequests(false), move_faked_activity( false ), move_resize_grab_window( None ), transient_for( NULL ), @@ -974,7 +975,7 @@ void Client::setShade( ShadeMode mode ) void Client::configureRequestTimeout() { - moveResizeMode = false; + inhibitConfigureRequests = false; sendSyntheticConfigureNotify(); } diff --git a/twin/client.h b/twin/client.h index 00703608d..944b837f6 100644 --- a/twin/client.h +++ b/twin/client.h @@ -481,6 +481,7 @@ class Client : public TQObject, public KDecorationDefines int desk; bool buttonDown; bool moveResizeMode; + bool inhibitConfigureRequests; bool move_faked_activity; Window move_resize_grab_window; bool unrestrictedMoveResize; diff --git a/twin/events.cpp b/twin/events.cpp index 10c06f93d..166767239 100644 --- a/twin/events.cpp +++ b/twin/events.cpp @@ -785,7 +785,7 @@ void Client::configureRequestEvent( XConfigureRequestEvent* e ) { if( e->window != window()) return; // ignore frame/wrapper - if ( isResize() || isMove()) + if ( isResize() || isMove() || inhibitConfigureRequests) { // Send a synthetic configure notification to make sure the // window contents get updated by the application diff --git a/twin/geometry.cpp b/twin/geometry.cpp index 65285cab6..f729c702c 100644 --- a/twin/geometry.cpp +++ b/twin/geometry.cpp @@ -1451,7 +1451,7 @@ const TQPoint Client::calculateGravitation( bool invert, int gravity ) const void Client::configureRequest( int value_mask, int rx, int ry, int rw, int rh, int gravity, bool from_tool ) { - moveResizeMode = true; + inhibitConfigureRequests = true; configureRequestTimer->start(100, true); if( gravity == 0 ) // default (nonsense) value for the argument gravity = xSizeHint.win_gravity;