Re-add capturing mouse for windows

This commit is contained in:
loki
2020-03-31 23:48:07 +02:00
parent 456d33cf77
commit 3d595ce927
2 changed files with 65 additions and 63 deletions

View File

@@ -107,6 +107,9 @@ using optional_t = either_t<
std::is_pointer_v<T>),
T, std::optional<T>>;
template<class... Ts> struct overloaded : Ts... { using Ts::operator()...; };
template<class... Ts> overloaded(Ts...) -> overloaded<Ts...>;
template<class T>
class FailGuard {
public: