mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 13:21:38 +03:00
wayland: clipboard: fix pasting if active surface id was not set
refs: #1385
This commit is contained in:
parent
bf0f502823
commit
cbd13c5e2a
@ -325,6 +325,9 @@ impl PointerDispatcher {
|
||||
inner
|
||||
.surface_to_pending
|
||||
.insert(surface.as_ref().id(), Arc::clone(pending));
|
||||
if inner.active_surface_id == 0 {
|
||||
inner.active_surface_id = surface.as_ref().id();
|
||||
}
|
||||
}
|
||||
|
||||
pub fn set_cursor(&self, name: &str, serial: Option<u32>) {
|
||||
|
Loading…
Reference in New Issue
Block a user