waycrate / exwlshelleventloop

winit like binding for layershell and sessionlock
MIT License
47 stars 10 forks source link

feat: prepaire for iced_13 #57

Closed Decodetalkers closed 2 months ago

Decodetalkers commented 2 months ago

NOTE: this one is a very beginning support for iced.. the code is really shit with lots of part which I cannot understand. but finall it run..I use tryinto to uniquely handle the message, but make it clone to be clone able.Maybe we should restrict the error of tryinto to be the message itself, but I do not know how to do

Decodetalkers commented 2 months ago

There is still one thing.. since now we need to

impl TryInto<LayshellCustomActionWithInfo<WindowInfo>, Error = Message> for Message{

}

but when we need empty message, this seems too long. I think we need a macro for it.. @sundaram123krishnan . Sorry I want this this pr very much, so I finish it.. I want to use it in lala-bar, because in iced13 there is rich_text element. now I just sync to iced13, but in iced13 the origin one has a better way write the project.. Maybe You can help me with this