summaryrefslogtreecommitdiff
path: root/src/wm_info_provider
diff options
context:
space:
mode:
authorMaxVerevkin <maxxverrr@gmail.com>2024-09-06 14:01:32 +0300
committerMaxVerevkin <maxxverrr@gmail.com>2024-09-06 14:01:32 +0300
commit7d665ea632fd0676b217bcba367ba5728ae1b514 (patch)
tree897fe68ba3df1fbc79ae7c03dcc52bf598f78185 /src/wm_info_provider
parentd44a07d437eb799e742a0b3446e1329d88d61a23 (diff)
downloadi3bar-mango-7d665ea632fd0676b217bcba367ba5728ae1b514.tar.gz
flush wayland socket after tag updates on hypland
Diffstat (limited to 'src/wm_info_provider')
-rw-r--r--src/wm_info_provider/hyprland.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wm_info_provider/hyprland.rs b/src/wm_info_provider/hyprland.rs
index bbef98b..6fbfc30 100644
--- a/src/wm_info_provider/hyprland.rs
+++ b/src/wm_info_provider/hyprland.rs
@@ -4,7 +4,6 @@ use std::os::unix::net::UnixStream;
use std::path::PathBuf;
use serde::de::DeserializeOwned;
-use wayrs_client::IoMode;
use super::*;
use crate::event_loop;
@@ -35,7 +34,6 @@ impl WmInfoProvider for HyprlandInfoProvider {
Ok(()) => Ok(event_loop::Action::Keep),
Err(e) => {
ctx.state.set_error(ctx.conn, e);
- ctx.conn.flush(IoMode::Blocking)?;
Ok(event_loop::Action::Unregister)
}
}