Summary: | moving non-sticky window with active desktop borders enabled to another desktop makes it sticky | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | M. Philippens <marc_philippens> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
M. Philippens
2003-02-25 17:11:47 UTC
Subject: kdebase/kwin CVS commit by lunakl: Fix #55164. CCMAIL: 55164-done@bugs.kde.org M +4 -2 workspace.cpp 1.408 --- kdebase/kwin/workspace.cpp #1.407:1.408 @@ -2307,7 +2307,9 @@ void Workspace::setCurrentDesktop( int n ObscuringWindows obs_wins; + bool updateMovingClientDesktop = false; if (d->movingClient && !d->movingClient->isSticky()) { - d->movingClient->setDesktop(-1); // All desktops + updateMovingClientDesktop = true; + d->movingClient->setDesktop( -1 ); } @@ -2327,5 +2329,5 @@ void Workspace::setCurrentDesktop( int n } - if (d->movingClient && !d->movingClient->isSticky()) + if (d->movingClient && updateMovingClientDesktop ) { d->movingClient->setDesktop(new_desktop); |