Skip to content

Commit 4cbef3e

Browse files
author
Brad Johnson
committed
Re-add entitlements file
Delete merge conflict file Allow MouseHook to run over top of other spaces
1 parent 04c984c commit 4cbef3e

File tree

4 files changed

+19
-124
lines changed

4 files changed

+19
-124
lines changed

MouseHook/AppDelegate.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuDelegate {
8282
mouseWindow.backgroundColor = .clear
8383
mouseWindow.level = .screenSaver
8484
mouseWindow.orderFront(nil)
85+
mouseWindow.collectionBehavior = .canJoinAllSpaces
8586
}
8687

8788
func setupMenu() {

MouseHook/AppDelegate.swift.orig

Lines changed: 0 additions & 124 deletions
This file was deleted.

MouseHook/Info.plist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>LSUIElement</key>
6+
<true/>
7+
</dict>
8+
</plist>

MouseHook/MouseHook.entitlements

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.app-sandbox</key>
6+
<true/>
7+
<key>com.apple.security.files.user-selected.read-only</key>
8+
<true/>
9+
</dict>
10+
</plist>

0 commit comments

Comments
 (0)