assorted fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ming-wm-lib"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
repository = "https://github.com/stjet/ming-wm"
|
||||
description = "library for building windows for ming-wm in rust"
|
||||
license = "GPL-3.0-or-later"
|
||||
|
||||
@@ -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