Skip to content

Commit

Permalink
Merge pull request #32 from men232/main
Browse files Browse the repository at this point in the history
Fixes disappearing cursor on external display
  • Loading branch information
Stengo authored Oct 4, 2024
2 parents ede1e19 + 2b96774 commit c0fac65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DeskPad/Frontend/Screen/ScreenViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ class ScreenViewController: SubscriberViewController<ScreenViewData>, NSWindowDe
outputWidth: Int(viewData.resolution.width * viewData.scaleFactor),
outputHeight: Int(viewData.resolution.height * viewData.scaleFactor),
pixelFormat: 1_111_970_369,
properties: nil,
properties: [
CGDisplayStream.showCursor: true,
] as CFDictionary,
queue: .main,
handler: { [weak self] _, _, frameSurface, _ in
if let surface = frameSurface {
Expand Down

0 comments on commit c0fac65

Please sign in to comment.