mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 05:34:17 +00:00
6c980eba68
Reverts most of 10dae7482c
10 lines
210 B
C++
10 lines
210 B
C++
#pragma once
|
|
|
|
#define THROW_BAD_ALLOC_IF_NULL(x) \
|
|
if ((x) == nullptr) throw std::bad_alloc()
|
|
|
|
namespace WMUtils {
|
|
bool isRunningX11();
|
|
bool isRunningWayland();
|
|
bool isRunningWindowManager();
|
|
}
|