Summary: | Placement Policy 'under mouse' | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Uwe Dippel <udippel> |
Component: | core | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 4.9 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-workspace/36c6d9ef8f1a49557a469de2e33c75500381df27 | Version Fixed In: | |
Sentry Crash Report: |
Description
Uwe Dippel
2011-05-01 16:31:13 UTC
FTR: the rules support such (that's a bit odd, why is it not available in the global setting?) It seems not to be allowed to be configured: In Placement::Policy Placement::policyFromString(const QString& policy, bool no_special) we have: else if (policy == "UnderMouse" && !no_special) and in options.cpp it is read as m_placement = Placement::policyFromString(config.readEntry("Placement"), true); I will try whether git blame can enlighten me what no_special means... (In reply to comment #2) > I will try whether git blame can enlighten me what no_special means... as expected... branches/work/kwin_composite becomes new trunk kwin. grep says no_special is just a flag whether policyFromString is called from rules (are special) or not - i understang the limitation for "default" (what's the default then ;-) and "onMainWindow" (makes no sense in many cases) but it seems entirely high handed for under mouse to me. Git commit 36c6d9ef8f1a49557a469de2e33c75500381df27 by Thomas Lübking. Committed on 17/04/2012 at 15:25. Pushed by luebking into branch 'master'. allow "under mouse" as regular placement strategy REVIEW: 104650 M +15 -47 kwin/kcmkwin/kwinoptions/windows.cpp M +0 -12 kwin/kcmkwin/kwinoptions/windows.h M +1 -1 kwin/placement.cpp http://commits.kde.org/kde-workspace/36c6d9ef8f1a49557a469de2e33c75500381df27 |