mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
* Source/GSTitleView.m (mouseDown): use [_window screen] instead
of [NSScreen mainScreen].
This commit is contained in:
parent
a7aa7d014d
commit
75cbfce281
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@
|
|||
// Define move constrains for menu
|
||||
if (_ownedByMenu)
|
||||
{
|
||||
NSRect screenFrame = [[NSScreen mainScreen] frame];
|
||||
NSRect screenFrame = [[_window screen] frame];
|
||||
leftLimit = screenFrame.origin.x;
|
||||
topLimit = NSMaxY(screenFrame) - [_window frame].size.height;
|
||||
rightLimit = NSMaxX(screenFrame) - [_window frame].size.width;
|
||||
|
|
Loading…
Reference in a new issue