You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm opening a window and want to request focus to it from an existing surface by using XDG activation token, but I'm getting an error setting the calling surface when I'm calling ActivationState.request_token().
Example:
if let Some(activation) = xdg_activation.as_ref() {
activation.request_token(
&qh,
RequestData {
seat_and_serial: Some((seat,serial)),
//last_surface is an existing surface of type WlSurface
surface: Some(last_surface.clone()),
app_id: Some(String::from("CallingWindow")),
},
);
}
I get: Request [email protected]_surface expects an argument of interface wl_surface but xdg_surface was provided instead.
The text was updated successfully, but these errors were encountered:
I'm opening a window and want to request focus to it from an existing surface by using XDG activation token, but I'm getting an error setting the calling surface when I'm calling ActivationState.request_token().
Example:
I get:
Request [email protected]_surface expects an argument of interface wl_surface but xdg_surface was provided instead.
The text was updated successfully, but these errors were encountered: