Don't send sync requests when using the rubber band for window resizing.

BUG: 181800
CCBUG: 183263

svn path=/trunk/KDE/kdebase/workspace/; revision=1030921
This commit is contained in:
Lucas Murray 2009-10-03 14:07:49 +00:00
parent 9f420c13ab
commit 52653a13b4

View file

@ -3150,7 +3150,8 @@ void Client::performMoveResize()
if( isElectricBorderMaximizing() ) if( isElectricBorderMaximizing() )
return; return;
#ifdef HAVE_XSYNC #ifdef HAVE_XSYNC
if( isResize() && sync_counter != None && !sync_resize_pending ) if( isResize() && options->resizeMode == Options::Opaque &&
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()));