Skip to content

Commit 9ad1e86

Browse files
committed
ignore double click on macos14+
1 parent 544a014 commit 9ad1e86

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pip/info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<key>Icon file</key>
66
<string>AppIcon</string>
77
<key>CFBundleVersion</key>
8-
<string>19</string>
8+
<string>20</string>
99
<key>CFBundleShortVersionString</key>
10-
<string>2.50</string>
10+
<string>2.60</string>
1111
<key>CFBundleExecutable</key>
1212
<string>$(EXECUTABLE_NAME)</string>
1313
<key>CFBundleIdentifier</key>

pip/window.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,6 +858,7 @@ - (void)capture{
858858

859859
- (void)onDoubleClick:(NSEvent *)theEvent{
860860
if(window_id < 0) return;
861+
if(@available(macOS 14.0, *)) return;
861862
bringWindoToForeground(window_id);
862863
if(@available(macOS 11.0, *)){
863864
if(!AXIsProcessTrusted()) request_permission("Accessibility");

0 commit comments

Comments
 (0)