mirror of https://github.com/debauchee/barrier.git
Applied patch 1731039. Fixes a bug in testing if X clipboard
was owned at a given time.
This commit is contained in:
parent
34cf5bfd92
commit
d1e56572d2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue