mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-10 05:36:22 +08:00
Applied patch 1731039. Fixes a bug in testing if X clipboard
was owned at a given time.
This commit is contained in:
@@ -1188,7 +1188,7 @@ CXWindowsClipboard::wasOwnedAtTime(::Time time) const
|
||||
// compare time to range
|
||||
Time duration = lost - m_timeOwned;
|
||||
Time when = time - m_timeOwned;
|
||||
return (/*when >= 0 &&*/ when < duration);
|
||||
return (/*when >= 0 &&*/ when <= duration);
|
||||
}
|
||||
|
||||
Atom
|
||||
|
||||
Reference in New Issue
Block a user