X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/538382d5a1cd3e5f194c5354a5c9f07b774ab5bf..5ba3df3581e79b113dcf5eb6346baf246fa49da2:/StatusWindow.m diff --git a/StatusWindow.m b/StatusWindow.m index 91aba66..aa78cf1 100755 --- a/StatusWindow.m +++ b/StatusWindow.m @@ -103,7 +103,10 @@ // Setup the Window, and remove all its contentview's subviews. windowWidth = ( SW_PAD + imageWidth + SW_SPACE + dataWidth + SW_PAD ); windowHeight = ( SW_PAD + contentHeight + SW_PAD ); - [self setFrame:NSMakeRect(SW_BORDER, SW_BORDER, windowWidth, windowHeight) display:YES]; + [self setFrame:NSMakeRect( (SW_BORDER + [[self screen] visibleFrame].origin.x), + (SW_BORDER + [[self screen] visibleFrame].origin.y), + windowWidth, + windowHeight) display:YES]; [[[self contentView] subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)]; // Setup, position, fill, and add the image view to the content view.