mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 14:22:37 +03:00
x11: always update selection ownership
refs: https://github.com/wez/wezterm/issues/2926
This commit is contained in:
parent
f97a36ea5f
commit
9350795f33
@ -87,6 +87,8 @@ As features stabilize some brief notes about them will accumulate here.
|
||||
render when first activated until pressing a key.
|
||||
* lag when making heavy use of foreground process information in tab titles.
|
||||
[#2991](https://github.com/wez/wezterm/issues/2991)
|
||||
* X11: always update selection owner even if our window already owns it
|
||||
[#2926](https://github.com/wez/wezterm/issues/2926)
|
||||
|
||||
#### Changed
|
||||
* `CTRL-SHIFT-P` now activates the new command palette, instead of `PaneSelect`
|
||||
|
@ -665,10 +665,10 @@ impl XWindowInner {
|
||||
selection,
|
||||
time: self.copy_and_paste.time,
|
||||
})?;
|
||||
} else if we_own_it && current_owner != window_id {
|
||||
} else if we_own_it {
|
||||
log::trace!(
|
||||
"SEL: window_id={window_id:?} X doesn't think we own \
|
||||
selection ({current_owner:?} has it), but we do: tell it we have it"
|
||||
"SEL: window_id={window_id:?} currently owned by \
|
||||
{current_owner:?}, tell X we now own it"
|
||||
);
|
||||
// We have the selection but X doesn't think we do; assert it!
|
||||
conn.send_request_no_reply(&xcb::x::SetSelectionOwner {
|
||||
|
Loading…
Reference in New Issue
Block a user