Skip to content

Commit

Permalink
Possible fix for focus problems
Browse files Browse the repository at this point in the history
  • Loading branch information
r0x0r committed Oct 25, 2023
1 parent 8588a88 commit d5fcc91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webview/platforms/cocoa.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@
class BrowserView:
instances = {}
app = AppKit.NSApplication.sharedApplication()
app.setActivationPolicy_(0)

cascade_loc = Foundation.NSMakePoint(100.0, 0.0)

class AppDelegate(AppKit.NSObject):
Expand Down

0 comments on commit d5fcc91

Please sign in to comment.