File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -165,15 +165,15 @@ bool HasOpenSystemPreferencesDialog() {
165165 CGWindowListCopyWindowInfo (kCGWindowListOptionAll , kCGNullWindowID );
166166 int numberOfWindows = CFArrayGetCount (windowList);
167167 for (int index = 0 ; index < numberOfWindows; index++) {
168- // get information for each window
168+ // Get information for each window.
169169 NSDictionary *windowInfo =
170170 (NSDictionary *)CFArrayGetValueAtIndex (windowList, index);
171171 NSString *windowName = windowInfo[(id )kCGWindowName ];
172172 NSNumber *processIdentifier = windowInfo[(id )kCGWindowOwnerPID ];
173173
174- // don 't check windows owned by this process
174+ // Don 't check windows owned by the current process.
175175 if (![processIdentifier isEqual: ourProcessIdentifier]) {
176- // get process information for each window
176+ // Get process information for each window.
177177 pid_t pid = processIdentifier.intValue ;
178178 NSRunningApplication *windowRunningApplication =
179179 [NSRunningApplication runningApplicationWithProcessIdentifier: pid];
You can’t perform that action at this time.
0 commit comments