File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -165,15 +165,15 @@ bool HasOpenSystemPreferencesDialog() {
165
165
CGWindowListCopyWindowInfo (kCGWindowListOptionAll , kCGNullWindowID );
166
166
int numberOfWindows = CFArrayGetCount (windowList);
167
167
for (int index = 0 ; index < numberOfWindows; index ++) {
168
- // get information for each window
168
+ // Get information for each window.
169
169
NSDictionary *windowInfo =
170
170
(NSDictionary *)CFArrayGetValueAtIndex (windowList, index );
171
171
NSString *windowName = windowInfo[(id )kCGWindowName ];
172
172
NSNumber *processIdentifier = windowInfo[(id )kCGWindowOwnerPID ];
173
173
174
- // don 't check windows owned by this process
174
+ // Don 't check windows owned by the current process.
175
175
if (![processIdentifier isEqual: ourProcessIdentifier]) {
176
- // get process information for each window
176
+ // Get process information for each window.
177
177
pid_t pid = processIdentifier.intValue ;
178
178
NSRunningApplication *windowRunningApplication =
179
179
[NSRunningApplication runningApplicationWithProcessIdentifier: pid];
You can’t perform that action at this time.
0 commit comments