mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-19 01:18:13 +02:00
fixed: nothing happens on osx 10.6
This commit is contained in:
parent
5bb7a9fc7c
commit
75d2c5abf1
11 changed files with 38 additions and 40 deletions
|
@ -182,18 +182,18 @@ CApp::parseArg(const int& argc, const char* const* argv, int& i)
|
|||
|
||||
#endif
|
||||
|
||||
#ifdef WINAPI_MSWINDOWS
|
||||
|
||||
OSVERSIONINFO osvi;
|
||||
ZeroMemory(&osvi, sizeof(OSVERSIONINFO));
|
||||
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
|
||||
GetVersionEx(&osvi);
|
||||
|
||||
#ifdef WINAPI_MSWINDOWS
|
||||
|
||||
OSVERSIONINFO osvi;
|
||||
ZeroMemory(&osvi, sizeof(OSVERSIONINFO));
|
||||
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
|
||||
GetVersionEx(&osvi);
|
||||
|
||||
if (osvi.dwMajorVersion < 6) {
|
||||
useDragDrop = false;
|
||||
LOG((CLOG_INFO "ignoring --enable-drag-drop, not supported below vista."));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
if (useDragDrop) {
|
||||
argsBase().m_enableDragDrop = true;
|
||||
|
@ -415,7 +415,6 @@ CApp::handleIpcMessage(const CEvent& e, void*)
|
|||
void
|
||||
CApp::runEventsLoop(void*)
|
||||
{
|
||||
m_events->cacheCurrentEventQueueRef();
|
||||
m_events->loop();
|
||||
|
||||
#if defined(MAC_OS_X_VERSION_10_7)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue