Changeset 597 for trunk/Cocoa/Pester


Ignore:
Timestamp:
12/21/09 22:12:00 (15 years ago)
Author:
Nicholas Riley
Message:

Don't bring all windows of the frontmost application to the front when dismissing an alert.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/PSAlarmAlertController.m

    r113 r597  
    3030    [alarm setTimer]; // if snooze not set and not repeating, alarm will die
    3131    if (frontmostApp.highLongOfPSN != 0 || frontmostApp.lowLongOfPSN != 0) {
    32         SetFrontProcess(&frontmostApp);
     32        SetFrontProcessWithOptions(&frontmostApp, kSetFrontProcessFrontWindowOnly);
    3333        if (appWasHidden)
    3434            [NSApp hide: self];
Note: See TracChangeset for help on using the changeset viewer.