aboutsummaryrefslogtreecommitdiff
path: root/src/server/client_transport.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-13 18:53:37 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-13 18:53:53 +0300
commitc542fc871743f96f4e665e80f9274a262421d847 (patch)
treec3e131449c2fb1d2efc1eb823cfd0123a6e32cd1 /src/server/client_transport.rs
parentb02a9a81d2316822822c81cbb806012ee278fb68 (diff)
fix: gate kitty graphics behind config
Diffstat (limited to 'src/server/client_transport.rs')
-rw-r--r--src/server/client_transport.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/client_transport.rs b/src/server/client_transport.rs
index a74bf7f6..348d00c7 100644
--- a/src/server/client_transport.rs
+++ b/src/server/client_transport.rs
@@ -146,8 +146,8 @@ pub(crate) fn handle_client_handshake(
(
clamped_cols,
clamped_rows,
- cell_width_px.max(1),
- cell_height_px.max(1),
+ cell_width_px,
+ cell_height_px,
requested_encoding,
)
}
@@ -349,8 +349,8 @@ fn client_read_loop(
client_id,
cols: clamped_cols,
rows: clamped_rows,
- cell_width_px: cell_width_px.max(1),
- cell_height_px: cell_height_px.max(1),
+ cell_width_px,
+ cell_height_px,
}
}
ClientMessage::Detach => ServerEvent::ClientDetach { client_id },