mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 14:41:57 +08:00
Preliminary support for MSYS/MinGW builds. Doesn't yet build
CSynergyHook as a DLL and does not compile or link in the resources for the binaries.
This commit is contained in:
@@ -387,7 +387,8 @@ void
|
||||
CMSWindowsDesks::destroyClass(ATOM windowClass) const
|
||||
{
|
||||
if (windowClass != 0) {
|
||||
UnregisterClass((LPCTSTR)windowClass, CMSWindowsScreen::getInstance());
|
||||
UnregisterClass(reinterpret_cast<LPCTSTR>(windowClass),
|
||||
CMSWindowsScreen::getInstance());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -397,7 +398,7 @@ CMSWindowsDesks::createWindow(ATOM windowClass, const char* name) const
|
||||
HWND window = CreateWindowEx(WS_EX_TOPMOST |
|
||||
WS_EX_TRANSPARENT |
|
||||
WS_EX_TOOLWINDOW,
|
||||
(LPCTSTR)windowClass,
|
||||
reinterpret_cast<LPCTSTR>(windowClass),
|
||||
name,
|
||||
WS_POPUP,
|
||||
0, 0, 1, 1,
|
||||
|
||||
Reference in New Issue
Block a user