Files
LLeMbas-TTY/window
Tobias Oetiker d8563fa028 x11: assert selection ownership with CURRENT_TIME
update_selection_owner asserted ownership using self.copy_and_paste.time
That field only advances on key and button events delivered to that
particular window, so a window the user has not touched recently carries
a timestamp that predates the selection's lastTimeChanged.
The X server ignores SetSelectionOwner in that case, so the assertion was
previously dropped.

Use X's CURRENT_TIME constant instead which is always accepted.
This mirrors what focus() already does for the same underlying reason.

refs: #5917
2026-09-15 13:29:32 +02:00
..
2024-05-04 16:09:38 -07:00
2022-08-17 07:19:12 -07:00