Fix linux/macos compilation
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
namespace chatterino {
|
namespace chatterino {
|
||||||
|
|
||||||
|
#ifdef USEWINSDK
|
||||||
static thread_local std::vector<HWND> taskbarHwnds;
|
static thread_local std::vector<HWND> taskbarHwnds;
|
||||||
|
|
||||||
BOOL CALLBACK enumWindows(HWND hwnd, LPARAM)
|
BOOL CALLBACK enumWindows(HWND hwnd, LPARAM)
|
||||||
@@ -37,6 +38,7 @@ BOOL CALLBACK enumWindows(HWND hwnd, LPARAM)
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
AttachedWindow::AttachedWindow(void *_target, int _yOffset)
|
AttachedWindow::AttachedWindow(void *_target, int _yOffset)
|
||||||
: QWidget(nullptr, Qt::FramelessWindowHint | Qt::Window)
|
: QWidget(nullptr, Qt::FramelessWindowHint | Qt::Window)
|
||||||
|
|||||||
Reference in New Issue
Block a user