mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
pointInTitleBarRect: remove hit-test from window buttons
This commit is contained in:
parent
4eafb6f34c
commit
8ec514e049
1 changed files with 1 additions and 3 deletions
|
@ -381,9 +381,7 @@ calc_new_frame(NSRect frame, NSPoint point, NSPoint firstPoint,
|
|||
|
||||
- (BOOL) pointInTitleBarRect:(NSPoint)point
|
||||
{
|
||||
return !NSPointInRect(point, closeButtonRect) &&
|
||||
!NSPointInRect(point, miniaturizeButtonRect) &&
|
||||
NSPointInRect(point, titleBarRect);
|
||||
return NSPointInRect(point, titleBarRect);
|
||||
}
|
||||
|
||||
- (BOOL) pointInResizeBarRect:(NSPoint)point
|
||||
|
|
Loading…
Reference in a new issue