Adium

Changeset 23097

Show
Ignore:
Timestamp:
04/07/2008 12:35:39 AM (8 months ago)
Author:
evands
Message:

Merged [23096]: Fixed tooltips for the contact list when it is set to show on every space. Fixes #9592

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/adium-1.2/Frameworks/AIUtilities Framework/Source/AISmoothTooltipTracker.m

    r23074 r23097  
    330330                CGSGetWindowWorkspace(_CGSDefaultConnection(), [self windowNumber], &windowWorkspace); 
    331331                if (err == noErr) { 
    332                         return (currentWorkspace == windowWorkspace); 
     332                        //If windowWorkspace is 0, the window is showing on every workspace, so it definitely is on the current one. 
     333                        return ((currentWorkspace == windowWorkspace) || (windowWorkspace == 0)); 
    333334                } 
    334335        }