mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-24 09:38:32 +02:00
fix(borders): send notif on ignored hwnd events
This commit is contained in:
@@ -102,6 +102,10 @@ impl WindowManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !transparency_override {
|
if !transparency_override {
|
||||||
|
if rule_debug.matches_ignore_identifier.is_some() {
|
||||||
|
border_manager::send_notification(Option::from(event.hwnd()));
|
||||||
|
}
|
||||||
|
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -532,7 +532,7 @@ pub struct RuleDebug {
|
|||||||
pub class: Option<String>,
|
pub class: Option<String>,
|
||||||
pub path: Option<String>,
|
pub path: Option<String>,
|
||||||
pub matches_permaignore_class: Option<String>,
|
pub matches_permaignore_class: Option<String>,
|
||||||
pub matches_float_identifier: Option<MatchingRule>,
|
pub matches_ignore_identifier: Option<MatchingRule>,
|
||||||
pub matches_managed_override: Option<MatchingRule>,
|
pub matches_managed_override: Option<MatchingRule>,
|
||||||
pub matches_layered_whitelist: Option<MatchingRule>,
|
pub matches_layered_whitelist: Option<MatchingRule>,
|
||||||
pub matches_wsl2_gui: Option<String>,
|
pub matches_wsl2_gui: Option<String>,
|
||||||
@@ -570,7 +570,7 @@ fn window_is_eligible(
|
|||||||
&ignore_identifiers,
|
&ignore_identifiers,
|
||||||
®ex_identifiers,
|
®ex_identifiers,
|
||||||
) {
|
) {
|
||||||
debug.matches_float_identifier = Some(rule);
|
debug.matches_ignore_identifier = Some(rule);
|
||||||
true
|
true
|
||||||
} else {
|
} else {
|
||||||
false
|
false
|
||||||
|
|||||||
Reference in New Issue
Block a user