[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.4/kdebase/workspace/kwin/effects/desktopgrid
From: Martin Gräßlin <ubuntu () martin-graesslin ! com>
Date: 2010-03-14 10:58:14
Message-ID: 1268564294.496697.23272.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1103104 by graesslin:
Backport rev: 1103103
Do not paint windows as if it is being moved when only clicking on it in desktop grid.
This prevents that the window flickers on clicking them.
CCBUG: 229741
M +2 -2 desktopgrid.cpp
--- branches/KDE/4.4/kdebase/workspace/kwin/effects/desktopgrid/desktopgrid.cpp #1103103:1103104
@@ -157,7 +157,7 @@
paintingDesktop = desktop;
effects->paintScreen( mask, region, d );
}
- if( isUsingPresentWindows() && windowMove )
+ if( isUsingPresentWindows() && windowMove && wasWindowMove )
{
// the moving window has to be painted on top of all desktops
QPoint diff = cursorPos() - m_windowMoveStartPoint;
@@ -261,7 +261,7 @@
{
if( timeline.value() != 0 || (isUsingPresentWindows() && isMotionManagerMovingWindows()) )
{
- if( isUsingPresentWindows() && w == windowMove )
+ if( isUsingPresentWindows() && w == windowMove && wasWindowMove )
{
return; // will be painted on top of all other windows
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic