mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-21 08:01:39 +01:00
refactor(windows): converge FocusFollowsMouseImplementation to the shared text
Windows takes the text that KDE and the crate will share: the Windows description is unchanged, KDE's extra sentence about KWin is added only under cfg_attr(target_os = "linux"), so each platform's schema.json keeps its bytes. No code change. Verified: Windows clippy --workspace --locked --all-targets -D warnings clean.
This commit is contained in:
1 parent
9483f849f8
commit
5d4d2768cc
1 file changed
+7
@@ -350,6 +350,13 @@ pub enum BorderImplementation {
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Serialize, Deserialize, Display, EnumString, ValueEnum)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Focus follows mouse implementation
|
||||
// KDE's compositor does the focusing: its description says so (it is part of the checked-in schema)
|
||||
#[cfg_attr(target_os = "linux", doc = "")]
|
||||
#[cfg_attr(
|
||||
target_os = "linux",
|
||||
doc = " The two exist on Windows. On KDE the compositor does it, so both ask KWin for its"
|
||||
)]
|
||||
#[cfg_attr(target_os = "linux", doc = " \"focus follows mouse\" focus policy.")]
|
||||
pub enum FocusFollowsMouseImplementation {
|
||||
/// Custom FFM implementation (slightly more CPU-intensive)
|
||||
Komorebi,
|
||||
|
||||
Reference in new issue
Block a user