diff options
| author | MaxVerevkin <maxxverrr@gmail.com> | 2022-08-08 23:12:23 +0300 |
|---|---|---|
| committer | MaxVerevkin <maxxverrr@gmail.com> | 2022-08-08 23:59:59 +0300 |
| commit | 1851c56e407cac72ca104cc5e75692cd9c648986 (patch) | |
| tree | 31473532e01ee6ee1571974a6abf59463e3265ed /src/i3bar_protocol.rs | |
| parent | 9ddde2d2ee9833412e39afbd1ed907cdea22f08f (diff) | |
| download | i3bar-mango-1851c56e407cac72ca104cc5e75692cd9c648986.tar.gz | |
rewrite using latest walayd libs & implement HiDPI
Diffstat (limited to 'src/i3bar_protocol.rs')
| -rw-r--r-- | src/i3bar_protocol.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i3bar_protocol.rs b/src/i3bar_protocol.rs index 54ebd93..67e03f1 100644 --- a/src/i3bar_protocol.rs +++ b/src/i3bar_protocol.rs @@ -64,7 +64,7 @@ pub struct Event<'a> { pub height: u8, } -#[derive(Deserialize, Clone, Copy)] +#[derive(Deserialize, Clone, Copy, Debug)] #[serde(deny_unknown_fields)] pub struct JsonHeader { version: u8, @@ -78,6 +78,7 @@ pub struct JsonHeader { click_events: bool, } +#[derive(Debug)] pub enum Protocol { Unknown, PlainText { |
