assorted fixes
This commit is contained in:
@@ -60,7 +60,7 @@ pub fn listen(mut window_like: impl WindowLike) {
|
||||
format!("{}", &window_like.handle_message(WindowMessage::deserialize(arg).unwrap()).serialize())
|
||||
},
|
||||
"draw" => {
|
||||
format!("{}", &window_like.draw(&ThemeInfo::deserialize(arg).unwrap()).serialize())
|
||||
format!("{}", &window_like.draw(&ThemeInfo::deserialize(arg).unwrap()).serialize().replace("\n", ""))
|
||||
},
|
||||
"title" => {
|
||||
format!("{}", window_like.title())
|
||||
|
||||
@@ -85,6 +85,7 @@ pub enum ShortcutType {
|
||||
|
||||
pub type WindowsVec = Vec<(usize, String)>;
|
||||
|
||||
#[non_exhaustive]
|
||||
pub enum InfoType {
|
||||
//let taskbar know what the current windows in the workspace are
|
||||
WindowsInWorkspace(WindowsVec, usize), //Vec<(id, name)>, focused id
|
||||
|
||||
Reference in New Issue
Block a user