-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
seemingly no way to take events from ZwpInputMethodContextV1? #756
Comments
Hello, sadly I haven't ever worked with "Input method v1" and due to its limited support I don't have a way to test it out. However from a quick glance, you are correct that you have to register You can test it out by just listening if impl Dispatch<ZwpInputMethodContextV1, ()> for Delegate {
fn event(
_: &mut Self,
_: &WlRegistry,
event: wl_registry::Event,
_: &GlobalListContents,
_: &Connection,
_: &QueueHandle<Self>,
) {
println!("{:?}", event);
}
} It is also worth mentioning that there is |
Objects created by an event (like One part that is a little clunky is the initialization of the user-data associated with these objects, which is currently done through the |
how does a trait implementation even affect behaviour? the current code doesn't complain about |
I'm new to using smithay, and I've been trying to implement an IME. From what I can tell, you have to register a global
ZwpInputMethodV1
, listen for theActivate { id: ZwpInputMethodContextV1 }
event, and then additionally listen for events on thatid
, However,ZwpInputMethodContextV1
doesn't seem to provide any methods that take aQueueHandle
. Am I missing something?The text was updated successfully, but these errors were encountered: