mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-01-13 08:01:05 +01:00
Fixed stuff
This commit is contained in:
parent
1a7b98a666
commit
d1bfb48885
3 changed files with 6 additions and 2 deletions
|
@ -84,4 +84,8 @@ while true do
|
|||
|
||||
local tb = msgpack.decode(msg_bytes)
|
||||
print(tb)
|
||||
|
||||
if tb.CallCallback then
|
||||
CallbackTable[tb.CallCallback]()
|
||||
end
|
||||
end
|
||||
|
|
|
@ -57,7 +57,7 @@ impl PinnacleSocketSource {
|
|||
}
|
||||
}
|
||||
|
||||
let listener = UnixListener::bind(SOCKET_PATH)?;
|
||||
let listener = UnixListener::bind(socket_path)?;
|
||||
listener.set_nonblocking(true)?;
|
||||
|
||||
let socket = Generic::new(listener, Interest::READ, Mode::Level);
|
||||
|
|
|
@ -5,7 +5,7 @@ use std::{
|
|||
sync::Arc,
|
||||
};
|
||||
|
||||
use crate::api::{msg::Msg, PinnacleSocketSource, PinnacleStreamSource};
|
||||
use crate::api::{msg::Msg, PinnacleSocketSource};
|
||||
use smithay::{
|
||||
backend::renderer::element::RenderElementStates,
|
||||
desktop::{
|
||||
|
|
Loading…
Reference in a new issue