Prevent KWin from sending out multiple sync requests before the client

has time to reply.
BUG: 183263

svn path=/trunk/KDE/kdebase/workspace/; revision=1030473
This commit is contained in:
Lucas Murray 2009-10-02 10:50:13 +00:00
parent 4a1d35f2bc
commit b4938657b8

View file

@ -3149,7 +3149,7 @@ void Client::performMoveResize()
if( isElectricBorderMaximizing() ) if( isElectricBorderMaximizing() )
return; return;
#ifdef HAVE_XSYNC #ifdef HAVE_XSYNC
if( isResize() && sync_counter != None ) if( isResize() && sync_counter != None && !sync_resize_pending )
{ {
sync_timeout = new QTimer( this ); sync_timeout = new QTimer( this );
connect( sync_timeout, SIGNAL( timeout()), SLOT( syncTimeout())); connect( sync_timeout, SIGNAL( timeout()), SLOT( syncTimeout()));