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