aboutsummaryrefslogtreecommitdiff
path: root/src/server/clients.rs
diff options
context:
space:
mode:
authorakbash <akbash@herdr.dev>2026-07-24 01:28:35 +0300
committerGitHub <noreply@github.com>2026-07-24 01:28:35 +0300
commit503613c8ecbea752a234daf30cb0ad5a8bf93e4e (patch)
tree34b71e4c7055244ed191c043457c572e3ccfc935 /src/server/clients.rs
parent58ad2c6438cf25cdf7e95528c7114d3bf12626d2 (diff)
fix: inherit host palette in pane queries (#1759)
refs #1752 Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
Diffstat (limited to 'src/server/clients.rs')
-rw-r--r--src/server/clients.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/clients.rs b/src/server/clients.rs
index b1a56f0e..3782bd15 100644
--- a/src/server/clients.rs
+++ b/src/server/clients.rs
@@ -198,6 +198,11 @@ impl ClientConnection {
self.set_host_appearance(Some(color.inferred_appearance()), false);
}
}
+ crate::raw_input::RawInputEvent::HostPaletteColors { colors } => {
+ for &(index, color) in colors {
+ next_theme = next_theme.with_palette_color(index, color);
+ }
+ }
crate::raw_input::RawInputEvent::HostColorSchemeChanged(appearance) => {
changed |= self.set_host_appearance(Some(*appearance), true);
}