perf(borders): selectively invalidate border rects

This commit ensures that we only invalidate a border rect to send a
WM_PAINT message either when the position of the focus state of the
border has changed.

re #862
This commit is contained in:
LGUG2Z
2024-06-12 08:16:32 -07:00
parent d2d6484e38
commit 3d518f73ca
3 changed files with 37 additions and 18 deletions

View File

@@ -232,7 +232,16 @@ pub enum BorderStyle {
}
#[derive(
Copy, Clone, Debug, Serialize, Deserialize, Display, EnumString, ValueEnum, JsonSchema,
Copy,
Clone,
Debug,
Serialize,
Deserialize,
Display,
EnumString,
ValueEnum,
JsonSchema,
PartialEq,
)]
pub enum WindowKind {
Single,