fixed code style (whitespace)

This commit is contained in:
Nick Bolton 2012-10-25 21:58:24 +00:00
parent 70b5e9e815
commit 0502e3b3d6
1 changed files with 9 additions and 9 deletions

View File

@ -644,21 +644,21 @@ void
COSXScreen::showCursor() COSXScreen::showCursor()
{ {
LOG((CLOG_DEBUG "showing cursor")); LOG((CLOG_DEBUG "showing cursor"));
CGDisplayShowCursor(m_displayID); CGDisplayShowCursor(m_displayID);
CFStringRef propertyString = CFStringCreateWithCString(NULL, "SetsCursorInBackground", kCFStringEncodingMacRoman); CFStringRef propertyString = CFStringCreateWithCString(NULL, "SetsCursorInBackground", kCFStringEncodingMacRoman);
CGSSetConnectionProperty(_CGSDefaultConnection(), _CGSDefaultConnection(), propertyString, kCFBooleanFalse); CGSSetConnectionProperty(_CGSDefaultConnection(), _CGSDefaultConnection(), propertyString, kCFBooleanFalse);
CFRelease(propertyString); CFRelease(propertyString);
} }
void void
COSXScreen::hideCursor() COSXScreen::hideCursor()
{ {
CFStringRef propertyString = CFStringCreateWithCString(NULL, "SetsCursorInBackground", kCFStringEncodingMacRoman); CFStringRef propertyString = CFStringCreateWithCString(NULL, "SetsCursorInBackground", kCFStringEncodingMacRoman);
CGSSetConnectionProperty(_CGSDefaultConnection(), _CGSDefaultConnection(), propertyString, kCFBooleanTrue); CGSSetConnectionProperty(_CGSDefaultConnection(), _CGSDefaultConnection(), propertyString, kCFBooleanTrue);
CFRelease(propertyString); CFRelease(propertyString);
LOG((CLOG_DEBUG "hiding cursor")); LOG((CLOG_DEBUG "hiding cursor"));
CGDisplayHideCursor(m_displayID); CGDisplayHideCursor(m_displayID);
} }
void void
@ -684,7 +684,7 @@ COSXScreen::enable()
// hide cursor // hide cursor
if (!m_cursorHidden) { if (!m_cursorHidden) {
hideCursor(); hideCursor();
m_cursorHidden = true; m_cursorHidden = true;
} }