mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-01-14 08:01:14 +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)
|
local tb = msgpack.decode(msg_bytes)
|
||||||
print(tb)
|
print(tb)
|
||||||
|
|
||||||
|
if tb.CallCallback then
|
||||||
|
CallbackTable[tb.CallCallback]()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -57,7 +57,7 @@ impl PinnacleSocketSource {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let listener = UnixListener::bind(SOCKET_PATH)?;
|
let listener = UnixListener::bind(socket_path)?;
|
||||||
listener.set_nonblocking(true)?;
|
listener.set_nonblocking(true)?;
|
||||||
|
|
||||||
let socket = Generic::new(listener, Interest::READ, Mode::Level);
|
let socket = Generic::new(listener, Interest::READ, Mode::Level);
|
||||||
|
|
|
@ -5,7 +5,7 @@ use std::{
|
||||||
sync::Arc,
|
sync::Arc,
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::api::{msg::Msg, PinnacleSocketSource, PinnacleStreamSource};
|
use crate::api::{msg::Msg, PinnacleSocketSource};
|
||||||
use smithay::{
|
use smithay::{
|
||||||
backend::renderer::element::RenderElementStates,
|
backend::renderer::element::RenderElementStates,
|
||||||
desktop::{
|
desktop::{
|
||||||
|
|
Loading…
Reference in a new issue