Compare commits
No commits in common. "60a7f4ddff01649e9e08457b9a13d98822a6a713" and "0997b124a2e0a70074c1f79a6620c4efb1b4b0e5" have entirely different histories.
60a7f4ddff
...
0997b124a2
@ -1,11 +1,13 @@
|
||||
use std::{
|
||||
collections::{BTreeMap, HashMap},
|
||||
net::SocketAddr,
|
||||
os::linux::net::SocketAddrExt,
|
||||
path::PathBuf,
|
||||
str::FromStr,
|
||||
};
|
||||
|
||||
use crate::socket::{create_niri_socket, tell};
|
||||
use anyhow::{Result, anyhow};
|
||||
use anyhow::{Error, Result, anyhow};
|
||||
use microxdg::Xdg;
|
||||
use niri_ipc::{Event, Request};
|
||||
use niri_tag::{TagCmd, TagEvent, TagState};
|
||||
@ -14,7 +16,7 @@ use nix::unistd::geteuid;
|
||||
use smol::{
|
||||
channel::{self},
|
||||
future,
|
||||
io::{AsyncBufReadExt, AsyncWriteExt, BufReader},
|
||||
io::{AsyncBufReadExt, AsyncWriteExt, BufReader, BufWriter},
|
||||
net::unix::{UnixListener, UnixStream},
|
||||
stream::StreamExt,
|
||||
};
|
||||
|
@ -353,12 +353,7 @@ impl NiriTag {
|
||||
},
|
||||
};
|
||||
// then arrange corresponding state in the compositor
|
||||
self.do_action(action).await?;
|
||||
tell(
|
||||
&mut self.socket,
|
||||
Request::Action(Action::CenterVisibleColumns {}),
|
||||
)
|
||||
.await
|
||||
self.do_action(action).await
|
||||
}
|
||||
|
||||
async fn handle_event(&mut self, ev: Event) -> Result<()> {
|
||||
|
Loading…
Reference in New Issue
Block a user