Commit b07284f
committed
fix: raise Sparkle windows above the floating panel
Sparkle's update / progress / installed-version windows are plain
NSWindows at .normal level, so the TerminalPanel (level .floating)
and the NotchWindow (level .statusBar) both occluded them — users
saw 'check for updates' do nothing visible.
Watch NSWindow.didBecomeKeyNotification globally and, when the new
key window belongs to Sparkle (class or delegate name prefix 'SU' /
contains 'Sparkle'), promote it to .popUpMenu and add it to the
active space. Also collapses the notch hover so the prompt is
unobstructed.1 parent 5544e6a commit b07284f
1 file changed
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
60 | 92 | | |
61 | 93 | | |
62 | 94 | | |
| |||
0 commit comments