nuikit / cgsinternal Goto Github PK
View Code? Open in Web Editor NEWA collection of private CoreGraphics and SkyLight routines.
A collection of private CoreGraphics and SkyLight routines.
Out of curiosity, how did you get these files? Decompiled something?
Very nice about the project, I was able to detect when the mission control is active.
Is there any support to check also when the App Expose is active?
Thank you.
According to CGSConnection.h, sets a "Universal Owner" for the connection ID. Currently, that owner is Dock.app.
My theory was on Mojave
kill the dock like so "/bin/launchctl load /System/Library/LaunchAgents/com.apple.Dock.plist; /bin/launchctl start com.apple.Dock.agent"
CGSMainConnectionID
2a) (Dock only) _RegisterApplication
CGSNewConnection
CGSSetUniversalOwner with CID from step 2.
CGSSetOtherUniversalConnection using CID from step 2/step 3.
5a) Attempt to move a test window that I have open and know the WID of.
That was the theory, looks almost exactly what the Dock app is actually doing. But it's not working.
My questions...
Which OS did this work on for Skylight? If I roll back to OS 10.x should it work?
Is there something I am missing?
Is there an example someplace that works? Maybe I am being mentally challenged.
Is there a contact at Apple that could tell me what I am doing wrong?
Thanks!
CGSWarpPoint
is actually not composed of CGPoint
's, but a structure of floats that resembles it:
typedef struct {
float x;
float y;
} CGSMeshPoint;
Would you be interested in making this repo compatible with the Swift Package Manager?
I don't mind doing it and making a PR, if there's interest.
I've wanted to leave an issue on this for at least a year, maybe two, but meh here it goes. As of 10.13, here are the CGS
symbols (which have all been replaced by SLS
symbols, too). I haven't gone through the list to confirm which exist and which don't, but I know that a good number of symbols are still undocumented. For further reference, see here.
CGSWindowAnimationChangeShiftPoint
CGSWindowAnimationChangeSubLevel
CGSWindowAnimationHideSlot
CGSWindowBackdropActivateAll
CGSWindowBackdropBlendModeStringToEnum
CGSWindowBackdropCreateWithLevelAndMask
CGSWindowBackdropDeactivateAll
CGSWindowBackdropGetTypeID
CGSWindowBackdropMaterialStringToEnum
CGSWindowDirtyRegionSeed
CGSWindowFreezeBackdrops
CGSWindowFreezeWithOptions
CGSWindowGetTileRect
CGSWindowIsOrderedIn
CGSWindowIsVisible
CGSWindowListSetLockedBounds
CGSWindowRightForKey
CGSWindowRightKeyForMask
CGSWindowRightsSetGrantCompletedBlockForToken
CGSWindowRightsSetGrantOfferedBlockForToken
CGSWindowScrollRegion
CGSWindowSetActiveShadowLegacy
CGSWindowSetKeepsExcessBackingAllocation
CGSWindowSetResizeRegionShape
CGSWindowThaw
CGSWindowThawBackdrops
CGSWindowVisibleRegionSeed
CGSGetWindowAccelerationCapability
CGSGetWindowBounds
CGSGetWindowDepth
CGSGetWindowEventReceiver
CGSGetWindowFlushSeed
CGSGetWindowFrameBounds
CGSGetWindowGeometry
CGSGetWindowListWithTags
CGSGetWindowPresenter
CGSGetWindowResizeState
CGSGetWindowResolution
CGSGetWindowSize
CGSGetWindowSubLevel
CGSGetWindowTransformAtPlacement
CGSGetWindowType
CGSGetWindowWorkspaceIgnoringVisibility
CGSSetWindowAccelerationState
CGSSetWindowAlphaShape
CGSSetWindowBackgroundBlurRadius
CGSSetWindowBackgroundBlurRadiusStyle
CGSSetWindowBackgroundBlurRadiusWithOpacityHint
CGSSetWindowCaptureExcludeShape
CGSSetWindowCornerMask
CGSSetWindowDepth
CGSSetWindowDidOrderInOnNonCurrentManagedSpacesOnlyNotificationBlock
CGSSetWindowDidOrderOutOnNonCurrentManagedSpacesNotificationBlock
CGSSetWindowFiltering
CGSSetWindowHasMainAppearance
CGSSetWindowLevelForGroup
CGSSetWindowLevelsForActivation
CGSSetWindowListBrightness
CGSSetWindowListFadeProperties
CGSSetWindowListGlobalClipShape
CGSSetWindowListSystemAlpha
CGSSetWindowListSystemLevel
CGSSetWindowListTags
CGSSetWindowListWorkspace
CGSSetWindowMovementGroup
CGSSetWindowOpaqueShape
CGSSetWindowParent
CGSSetWindowRegionsLegacy
CGSSetWindowResizeState
CGSSetWindowResolution
CGSSetWindowShadowAndRimParametersWithStretch
CGSSetWindowShadowGroup
CGSSetWindowSubLevel
CGSSetWindowToReleaseBackingOnOrderOut
CGSSetWindowTransformAtPlacement
CGSSetWindowTransforms
CGSSetWindowTransformsAtPlacement
CGSSetWindowType
CGSUnlockWindowBackingStore
CGSUnlockWindowBits
CGSUnlockWindowRectBits
CGSUnlockWindowVisibleRegion
CGSUpdateWindowAnimationEdges
CGSUpdateWindowAnimationOrigin
CGSShapeWindow
CGSAccessWindowBackingStore
CGSAddButtonRegionInWindow
CGSAddDragRegionInWindow
CGSClearWindowListTags
CGSClearWindowMovementGroup
CGSClearWindowOrderingGroup
CGSCopyWindowAlphaShape
CGSCopyWindowGroup
CGSCopyWindowProperty
CGSCopyWindowRoutingRecordsForScreenLocation
CGSCopyWindowShape
CGSCopyWindowsWithOptionsAndTags
CGSCopyWindowsWithOptionsAndTagsAndSpaceOptions
CGSCreateSheetWindowAnimation
CGSCreateSheetWindowAnimationWithParent
CGSCreateWindowDebugInfo
CGSCycleWindows
CGSDeferWindowMoveEvents
CGSFindWindow
CGSFindWindowAndOwner
CGSFindWindowByGeometry
CGSFlushWindowContentRegion
CGSGetCatenatedWindowTransform
CGSGetOnscreenWindowBounds
CGSGetParentWindowList
CGSGetSharedWindow
CGSAddWindowToWindowMovementGroup
CGSAddWindowToWindowOrderingGroup
CGSBlockWindowOrdering
CGSCaptureWindowsContentsToRect
CGSCaptureWindowsContentsToRectWithOptions
CGSClearButtonRegionInWindow
CGSCompleteWindowRightsGrant
CGSCopyAssociatedWindows
CGSGetMagicZoomWindowID
CGSGetSystemWindow
CGSGrantWindowRightsReservingWithTimeoutAndToken
CGSInvalidateGroupedWindowShadow
CGSLockWindowBackingStore
CGSLockWindowBits
CGSLockWindowRectBits
CGSLockWindowVisibleRegion
CGSMoveWindowList
CGSMoveWindowWithGroup
CGSMoveWindowsToManagedSpace
CGSOrderWindowList
CGSOrderWindowListWithGroups
CGSOrderWindowListWithOperation
CGSOrderWindowWithGroup
CGSReleaseWindowAnimation
CGSReleaseWindowList
CGSRemoveWindowFromWindowMovementGroup
CGSReorderWindows
CGSRequestNotificationsForWindows
CGSResetWindows
CGSSetFrontWindow
CGSSetIgnoreAsFrontWindow
CGSSuperShieldingWindowID
CGSTranslatePointForWindow
CGSStructuralRegionIDRangeExtend
CGSStructuralRegionIDRangeFree
CGSStructuralRegionMove
CGSStructuralRegionSetChildRegionTransform
CGSStructuralRegionSetClippedByWindow
CGSStructuralRegionSetEventMask
CGSStructuralRegionSetLevel
CGSStructuralRegionSetShape
CGSAddStructuralRegion
CGSRemoveStructuralRegion
CGSBoundsEqualToBounds
CGSBoundsIntersection
CGSBoundsUnion
CGSClearActivationRegion
CGSTransactionAddWindowToSpace
CGSTransactionAddWindowToSpaceAndRemoveFromSpaces
CGSTransactionClearMenuBarSystemOverrideAlphas
CGSTransactionClearWindowLockedBounds
CGSTransactionClearWindowSystemLevel
CGSTransactionCommit
CGSTransactionCreate
CGSTransactionDeferWindowMoveEvents
CGSTransactionDestroySpace
CGSTransactionGetTypeID
CGSTransactionHideSpace
CGSTransactionMoveWindowsToManagedSpace
CGSTransactionOrderWindow
CGSTransactionOrderWindowGroup
CGSTransactionRemoveWindowFromSpace
CGSTransactionRemoveWindowFromSpaces
CGSTransactionResetSpaceMenuBar
CGSTransactionResetWindow
CGSTransactionSetEventCapture
CGSTransactionSetManagedDisplayCurrentSpace
CGSTransactionSetManagedDisplayIsAnimating
CGSTransactionSetMenuBarBounds
CGSTransactionSetMenuBarSystemOverrideAlpha
CGSTransactionSetSpaceAbsoluteLevel
CGSTransactionSetSpaceAlpha
CGSTransactionSetSpaceOrderingWeight
CGSTransactionSetSpaceShape
CGSTransactionSetSpaceTransform
CGSTransactionSetWindowAlpha
CGSTransactionSetWindowBrightness
CGSTransactionSetWindowGlobalClipShape
CGSTransactionSetWindowLevel
CGSTransactionSetWindowLockedBounds
CGSTransactionSetWindowSystemAlpha
CGSTransactionSetWindowSystemLevel
CGSTransactionSetWindowTransform
CGSTransactionSetWindowWarp
CGSTransactionShowSpace
CGSTransactionUpdateRegion
CGSTransactionWillSwitchSpaces
CGSSystemStatusBarGetCurrentNavigationWindow
CGSSystemStatusBarGetWindowPreferredPosition
CGSSystemStatusBarNavigateFromWindow
CGSSystemStatusBarRegisterReplicantWindow
CGSSystemStatusBarRegisterSortedWindow
CGSSystemStatusBarWindowIsDraggedOutOfBar
CGSSetMenuBar
CGSSetMenuBarAutohideEnabled
CGSSetMenuBarBounds
CGSSetMenuBarCompanionWindow
CGSSetMenuBarDrawingStyle
CGSSetMenuBarInsetAndAlpha
CGSSetMenuBarSystemOverrideAlpha
CGSSetMenuBars
CGSConfigureDisplayEnabled
CGSConfigureDisplayFadeEffect
CGSConfigureDisplayMirrorOfDisplay
CGSConfigureDisplayMirrored
CGSConfigureDisplayResolution
CGSConfigureDisplayStereoOperation
CGSCopyDisplayColorSpace
CGSCopyDisplayInfoDictionary
CGSCopyDisplayModePixelEncoding
CGSCopyDisplayRegion
CGSCopyDisplayUUID
CGSCopyManagedDisplayForSpace
CGSCopyManagedDisplayForWindow
CGSCopyManagedDisplays
CGSDetectDisplays
CGSDisplayChangedSeed
CGSDisplayConfigurationOrigin
CGSDisplayCopyCurrentMetalDevice
CGSDisplayGetRefreshTiming
CGSDisplayLoadUserPreferences
CGSDisplayMappingChangedSeed
CGSDisplayMuxAcquired
CGSDisplayMuxReleased
CGSDisplayRegisterReconfigurationCallbackWithUUID
CGSDisplaySystemStateSeed
CGSEnableAmbientDisplay
CGSEnableHDR
CGSGetDisplayAddress
CGSGetDisplayAliasList
CGSGetDisplayBaseAddress
CGSGetDisplayBrightness
CGSGetDisplayForUUID
CGSGetDisplayHardwareBounds
CGSGetDisplayList
CGSGetDisplayMaxOpenGLSurfaceSize
CGSGetDisplayMaximumHDRValue
CGSGetDisplayModeDescription
CGSGetDisplayModeDescriptionsOfLength
CGSGetDisplayOpenGLDisplayAliasMask
CGSGetDisplayOpenGLDisplayMask
CGSGetDisplayPixelEncoding
CGSGetDisplayPixelEncodingOfLength
CGSGetDisplayPixelFormat
CGSGetDisplayReconfigureTimeWhenWindowsLastMoved
CGSGetDisplayTransfer
CGSGetDisplayTransferByFormula
CGSGetDisplayTransferByTable
CGSGetDisplayTransferByTableInternal
CGSGetDisplaysWithOpenGLDisplayMask
CGSGetDisplaysWithUUID
CGSMainDisplayBoundsIgnoringCapture
CGSManagedDisplayCurrentSpaceAllowsWindow
CGSManagedDisplayGetCurrentSpace
CGSManagedDisplayIsAnimating
CGSManagedDisplaySetIsAnimating
CGSManagedDisplaySetRoleWindow
CGSManagedDisplaysCopyRoleWindows
CGSManagedDisplaysGetRoleWindows
CGSSetDisplayAcceleratorBoost
CGSSetDisplayBrightness
CGSSetDisplayColorSpace
CGSSetDisplayColorSpaceAndTransfer
CGSSetDisplayIntention
CGSSetDisplayIntentionWiper
CGSSetDisplayOption
CGSSetDisplayOption_
CGSSetDisplayRotation
CGSSetDisplayTransfer
CGSSetDisplayTransferByFormula
CGSSetDisplayTransferByFormulaWithOption
CGSSetDisplayTransferByTable
CGSSetDisplayTransferByTableInternal
CGSSetDisplayTransferByTableWithOption
CGSAcceleratorForDisplayAlias
CGSAcceleratorForDisplayNumber
CGSBringAirDisplayOffline
CGSBringAirDisplayOnline
CGSCaptureDisplay
CGSCompleteDisplayConfigurationWithOption
CGSCopyActiveMenuBarDisplayIdentifier
CGSSnappingInfoAddMovement
CGSSnappingInfoCreate
CGSSnappingInfoEnumerateSnappingRects
CGSSnappingInfoGetCurrentSnappedEdgesForRect
CGSSnappingInfoGetCurrentVelocity
CGSSnappingInfoGetLastSnappedRect
CGSSnappingInfoGetSizeSnapRectForFrame
CGSSnappingInfoGetSnappedEdges
CGSSnappingInfoRelease
CGSSnappingInfoResetMovement
CGSSnappingInfoServerCreate
CGSSnappingInfoSetIsForResizing
CGSSnappingInfoSetPrefs
CGSSnappingInfoSetSnappedEdges
CGSSnappingInfoSnapFrameForResizing
CGSSnappingInfoSnapOriginWithFrame
CGSSpaceAddOwner
CGSSpaceAddWindowsAndRemoveFromSpaces
CGSSpaceClientDrivenMoveSpacersToPoint
CGSSpaceFinishedResizeForRect
CGSSpaceGetAbsoluteLevel
CGSSpaceGetAlpha
CGSSpaceGetCompatID
CGSSpaceGetRect
CGSSpaceGetSpacersAtPoint
CGSSpaceMoveSpacersToPoint
CGSSpacePreferCurrentDisplay
CGSSpaceRemoveOwner
CGSSpaceResetMenuBar
CGSSpaceSetAbsoluteLevel
CGSSpaceSetAlpha
CGSSpaceSetCompatID
CGSSpaceSetEdgeReservation
CGSSpaceSetFrontPSN
CGSSpaceSetOrderingWeight
CGSSpaceSetOwners
CGSSpaceSetRelativeLevel
CGSSpaceSetType
CGSSpaceTileMoveToSpaceAtIndex
CGSSpaceWithName
CGSAreEventsCaptured
CGSAreEventsCapturedReturningMask
CGSClearEvent
CGSClearEventOfLength
CGSCoalesceEventsInMask
CGSCreateKeyboardEvent
CGSCreateKeyboardEventOfLength
CGSCreateKeyboardEventWithFlagsAndStateOfLength
CGSCurrentEventFlags
CGSCurrentEventMask
CGSCurrentEventTimestamp
CGSCurrentKeyboardEventSeed
CGSEventAppUnresponsiveStatus
CGSEventCounter
CGSEventFlagForVirtualKeyCode
CGSEventRecordGetContextID
CGSEventRecordGetContextOrigin
CGSEventRecordGetStagePressure
CGSEventRecordGetTransitionProgress
CGSEventRecordLength
CGSEventRecordSetContextID
CGSEventRecordSetContextOrigin
CGSEventRecordTimeFromRealTimeStamp
CGSEventTapCreate
CGSExtractEventRecordsFromMessage
CGSGetCoalesceEventsMask
CGSGetEventTapList
CGSGetEventTapTimeout
CGSGetGestureEventSubmask
CGSGetHIDEventRecord
CGSGetNextEventRecord
CGSGetNextEventRecordFromMessage
CGSGetNextEventRecordInternal
CGSGetUnflippedEventLocation
CGSGetUnflippedWindowEventLocation
CGSHIDEventRecordReplay
CGSInhibitLocalEvents
CGSPostEventRecord
CGSPostKeyboardEvent
CGSPostMouseEvent
CGSPostMouseEvents
CGSPostMouseEventsVButtons
CGSRealTimeStampFromEventRecordTime
CGSSecondsSinceLastInputEvent
CGSSecondsSinceMostRecentEventInMask
CGSSetBackgroundEventMaskAndShape
CGSSetEventCapture
CGSSetEventCaptureWindowAndMask
CGSSetEventMask
CGSSetEventTapOption
CGSSetEventTapTimeout
CGSSetGestureEventSubmask
CGSSetLocalEventsSuppressionInterval
CGSGetHotButton
CGSGetHotKeyRepresentation
CGSGetHotKeyType
CGSGetHotModifier
CGSSetHotButtonWithExclusion
CGSSetHotKeyEnabled
CGSSetHotKeyRepresentation
CGSSetHotKeyRepresentationWithOptions
CGSSetHotKeyType
CGSSetHotKeyWithExclusion
CGSSetHotKeyWithOptions
CGSSetHotModifierWithExclusion
CGSSetHotModifierWithOptions
CGSGetSymbolicHotKeyButtonValue
CGSGetSymbolicHotKeyRepresentation
CGSGetSymbolicHotKeyRepresentationList
CGSGetSymbolicHotKeyValuesAndStates
CGSGetSymbolicHotModifierValue
CGSSetSymbolicHotKey
CGSSetSymbolicHotKeyButtonValue
CGSSetSymbolicHotKeyEnabledForConnection
CGSSetSymbolicHotKeyRepresentation
CGSSetSymbolicHotKeyValue
CGSSetSymbolicHotKeyWithExclusion
CGSSetSymbolicHotKeyWithOptions
CGSSetSymbolicHotModifierValue
CGSIsSymbolicHotKeyEnabledForConnection
HotButton
is a synonym for HotKeyRepresentation
but I could be mistaken.CGSCreateLoginSessionWithDataAndVisibility
CGSCreateSession
CGSCreateSessionWithDataAndOptions
CGSCreateSessionWithDataAndVisibility
CGSGetSessionReadOnceData
CGSSessionCopyAllSessionProperties
CGSSessionCopyCurrentSessionProperties
CGSSessionCopyCurrentSessionReadOnceData
CGSSessionCreateLoginSessionID
CGSSessionCreateSessionIDWithOptions
CGSSessionFullScreenAppPid
CGSSessionHasExcludeShapes
CGSSessionIDGetFullScreenAppPid
CGSSessionIDSetScreenLockWindowID
CGSSessionIDSetSleepWindowID
CGSSessionReleaseSessionID
CGSSessionSetApplicationBindingsForWorkspaces
CGSSessionSetCurrentSessionProperties
CGSSessionSetCurrentSessionWorkspaceApplicationBindings
CGSSessionSetCurrentSessionWorkspaceLaunchPath
CGSSessionSetCurrentSessionWorkspaceNotificationConnectionID
CGSSessionSetCurrentSessionWorkspacePreferences
CGSSessionSetNotificationConnectionForWorkspaces
CGSSessionSetPreferencesForWorkspaces
CGSSessionSwitchToSessionID
CGSSetDictionaryForCurrentSession
CGSSetSessionSwitchCubeAnimation
CGSSwitchConsoleToSession
CGSUpdateCurrentSessionWorkspaceData
CGSPackagesAddWindowToDraggingSpace
CGSPackagesAssignDraggedWindowToDestinationSpace
CGSPackagesCopyWorkspaceIdentifierForWorkspace
CGSPackagesDisableFindCursor
CGSPackagesDragWindowRelativeToMouse
CGSPackagesEnableConnectionOcclusionNotifications
CGSPackagesEnableConnectionWindowModificationNotifications
CGSPackagesEnableWindowOcclusionNotifications
CGSPackagesFindCursorIsDisabled
CGSPackagesGetWindowConstraints
CGSPackagesGetWorkspaceForWorkspaceIdentifier
CGSPackagesRemoveWindowDragTransform
CGSPackagesRemoveWindowFromDraggingSpace
CGSPackagesSetFindCursorPrefs
CGSPackagesSetWindowConstraints
CGSPackagesSetWindowDragTransform
CGSPersistenceAnnounceAllAppsReady
CGSPersistenceRegisterAsReady
CGSPersistenceSaveSpaceConfiguration
CGSPersistenceWillLaunchASNsWithCompletionHandler
CGSPersistenceWillTerminateSession
CGSCopyPackagesPersistenceDictionary
CGSRestorePackagesManagementPersistenceData
CGSSaveConfiguration
CGSSavePerUserConfigurationData
CGSSetGlobalForceConfig
CGSSetPerUserConfigurationData
CGSGetTileSpaceDividerDirections
CGSTileSpaceMoveSpacersForSize
CGSTileSpaceReplaceWithSnapshotWindow
CGSTileSpaceSetDividerWindow
CGSGetConnectionPSN
CGSGetDenyWindowServerConnections
CGSPostNotificationToConnection
CGSPostBroadcastNotification
CGSServerHasValidConnections
CGSSetDenyWindowServerConnections
CGSConnectionDispatchNotificationsToMainQueueIfNotMainThread
CGSConnectionGetHeldWindowRights
CGSConnectionGetNextStructuralRegionID
CGSConnectionRelinquishWindowRights
CGSConnectionSetSpinning
CGSOverrideAppSleepNotifications
CGSEnableDeferredUpdateNotifications
CGSSetDeferredUpdateNotificationPort
CGSUnpackDeferredUpdateNotification
CGSSpinControlDecodeMessage
CGSSpinControlSetNotificationPort
CGSAssociateMouseAndMouseCursorPosition
CGSCosmeticShieldCursor
CGSCreateRegisteredCursorImage
CGSForceShowCursor
CGSGetRegisteredCursorData
CGSGetRegisteredCursorData2
CGSHardwareCursorActive
CGSInitCursor
CGSRegisterCursorWithData
CGSRegisterCursorWithData2
CGSRegisterCursorWithImage
CGSRemoveRegisteredCursor
CGSSetCursorDragLock
CGSSetCursorFromData
CGSSetCursorFromPremultipliedDataWithSeed
CGSSetCursorRegionLock
CGSSetSystemDefinedCursor
CGSShieldCursor
CGSUnshieldCursor
CGSDeviceCopyColorSpace
CGSDeviceCreate
CGSDeviceDestroy
CGSDeviceFinish
CGSDeviceGetGeometry
CGSDeviceGetProfile
CGSDeviceGetResolution
CGSDeviceInvalidate
CGSDeviceLock
CGSDeviceScroll
CGSDeviceSynchronize
CGSDeviceUnlock
CGSCopyDevicesDictionary
CGSCreateDefaultMetalDevice
CGSGetCAMetalDevice
CGSAddTrackingArea
CGSAddTrackingAreas
CGSAddTrackingRect
CGSAddTrackingRegion
CGSMoveTrackingArea
CGSRemoveAllTrackingAreas
CGSRemoveTrackingArea
CGSRemoveTrackingAreas
CGSSetTrackingAreaClip
CGSSetTrackingAreaEnabled
CGSSetTrackingAreaOption
CGSSetTrackingAreaRect
CGSSetTrackingAreaShape
CGSSetTrackingAreasEnabled
CGSTrackingRegionSetForceConfig
CGSTrackingRegionSetIsEnabled
CGSTrackingRegionSetRespectsSystemAlphaThreshold
CGSInstallRemoteContextNotificationHandler
CGSRemoteContextAddNativeSpaceTrackingRegion
CGSRemoteContextAddStructuralRegion
CGSRemoteContextAddTrackingRegion
CGSRemoveRemoteContextNotificationHandler
CGSCopySurfaceColorSpace
CGSFlushSurfaceWithOptions
CGSFlushSurfaceWithOptionsAndIndex
CGSGetSurfaceBinding
CGSGetSurfaceOpacity
CGSGetSurfaceResolution
CGSMoveSurface
CGSRemoveAllSurfaces
CGSSetSurfaceListAlpha
CGSSetSurfaceProperty
CGSSetSurfaceProxiesForNextFlush
CGSSetSurfaceShape
CGSShapeSurface
CGSUniqueSurfaceID
CGSGetActiveMenuBarDrawingStyle
CGSGetMenuBar
CGSGetMenuBarAutohideEnabled
CGSGetMenuBarDrawingStyle
CGSGetMenuBarUsesRTLLayoutOnDisplayLegacy
CGSGetProcessMenuBarWindowList
CGSGetRevealedMenuBarBounds
CGSInterruptMenuBarReveal
CGSIsMenuBarVisibleOnSpace
CGSResetMenuBarSystemOverrideAlphas
CGSSetActiveMenuBarDisplayIdentifier
CGSSetSystemStatusBarWindowSubitemOffsets
CGSStatusItemNavigationRecordGetCurrentNavigationOptions
CGSStatusItemNavigationRecordGetCurrentNavigationWindow
CGSBluishYellow
CGSCacheAcquireValues
CGSCacheInsertValues
CGSCacheReleaseValues
CGSCopyBestManagedDisplayForPoint
CGSCopyBestManagedDisplayForRect
CGSCopyCachedManagedDisplay
CGSCopySpacesForWindows
CGSCopySpecifiedWindowShape
CGSCreateCinematicBootWindowArray
CGSCreateLayerContext
CGSCreateMetalSheetWindowAnimationWithParentAndShift
CGSCreateShadowCacheDebugInfo
CGSCreateShadowGroup
CGSCurrentInputPointerPosition
CGSCurrentRealTime
CGSCurrentTimestamp
CGSDeactivateCurrContext
CGSDefaultKeyboardID
CGSDeferredUpdates
CGSDisableDisableUpdate
CGSDisableUpdateToken
CGSDoDeferredOrdering
CGSEnsureSpaceSwitchToActiveProcess
CGSGLCompositorSettings
CGSGeometrySeed
CGSGetActivationRegionLegacy
CGSGetAppearanceThemeLegacy
CGSGetButtonRegionLegacy
CGSGetCurrentMouseButtonState
CGSGetDockRectWithReason
CGSGetDragRegionLegacy
CGSGetEligiblePerAppDisplayList
CGSGetInkingState
CGSGetKeys
CGSGetLoginName
CGSGetPerformanceTotalUpdateCount
CGSGetPerformanceTotalUpdateHistogram
CGSGetPotentiallyActiveDisplayList
CGSGetProcessValidity
CGSGetReadyForAppLaunchExperimental
CGSGetSizeOfDisplayTransfer
CGSGetSpacePermittedResizeDirections
CGSGetSpecialCommandRegionLegacy
CGSGetSystemBackgroundWindow
CGSGetSystemUIHasRTLDirectionLegacy
CGSGetUpdateClientPipe
CGSGetWorkspaceWindowCountWithOptionsAndTags
CGSGetWorkspaceWindowGroup
CGSGetWorkspaceWindowListWithOptionsAndTags
CGSGetZoomParameters
CGSHWCaptureDesktop
CGSHWCaptureDisplayIntoIOSurface
CGSHWCaptureDisplayIntoIOSurfaceWithOptions
CGSHWCaptureSpace
CGSHWCaptureWindowList
CGSHWCaptureWindowListInRect
CGSInitialEnableOfDisplayUpdates
CGSInitialize
CGSInitializeGamma
CGSInitializeTransferTable
CGSInputButtonState
CGSInputKeyState
CGSInputModifierKeyState
CGSIsAmbientDisplayEnabled
CGSIsHDREnabled
CGSIsHDRSupported
CGSKitVersion
CGSLogBreak
CGSMachineSupportsLowPowerVideo
CGSMoveManagedSpaceToDisplayIndex
CGSMoveWorkspaceWindowList
CGSMoveWorkspaceWindowListWithOptions
CGSNewCIFilter
CGSNewWindowWithOpaqueShape
CGSOrderPanelIfActive
CGSProcessAssignToAllSpaces
CGSProcessAssignToSpace
CGSReassociateWindowsSpacesByGeometry
CGSReenableDisableUpdate
CGSReenableUpdateToken
CGSReenableUpdateTokenWithSeed
CGSRegisterUpdateInformationHandler
CGSRemoveDragSubregionForCommandModifier
CGSRemoveDragSubregionInWindow
CGSRemoveFromOrderingGroup
CGSRunningOnInstallerDisk
CGSServerIsConnected
CGSServerMightHaveAcceleration
CGSServerOperationState
CGSServerPort
CGSServiceForDisplayAlias
CGSServiceForDisplayNumber
CGSSetAccessibilityAdjustments
CGSSetAppearanceThemeLegacy
CGSSetAvoidsActivation
CGSSetCIFilterValues
CGSSetDebugOptionsData
CGSSetDebugOptionsPSN
CGSSetDebugOptionsWithDataObtainingPort
CGSSetDebugOptionsWithDataObtainingResult
CGSSetDefaultSpace
CGSSetDeferActivation
CGSSetDeferOrdering
CGSSetDockCursorOverride
CGSSetDockRectWithReason
CGSSetHideOnDeact
CGSSetIOHIDEventSystemClientProperty
CGSSetIgnoresOption
CGSSetInkingState
CGSSetKeyTranslationTableFromPtr
CGSSetKitVersion
CGSSetLoginName
CGSSetMagicMirrorProperties
CGSSetMagicZoom
CGSSetPostProcessColorMatrix
CGSSetPreventsActivation
CGSSetShouldLogErrors
CGSSetShouldLogMessages
CGSSetSwipeScrollDirection
CGSSetZoomParameters
CGSSharedArtworkCache
CGSStallServer
CGSUnregisterUpdateInformationHandler
CGSUpdateSystemActivity
CGSUpdateSystemActivityWithLocation
CGSVorpalBlade
CGSWasBootApplePreserved
CGSWillSwitchSpaces
CGSZoomPoint
CGDisplayDefaultVisualBell()
How did you extract and verify the values of CGSWindowTagBit
? I noticed some have changed since 2016, so I need the updated values. Cheers!
cc @avaidyam
I want to disable fn key from showing the emoji menu globally when my app is active / background
I am already achieving this using CGSSetGlobalHotKeyOperatingMode(connection, kCGSGlobalHotKeyDisable)
However, this disables all hotkeys and I'm calling this on keydown and then re-activating on key-up
Is there a way I can only target the fn key and disable it instead of this toggle on / off behaviour for all keys?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.