mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 23:35:55 +00:00
11 lines
210 B
C++
11 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();
|
|
}
|