mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:10:37 +00:00
Tracking rect fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3980 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a250c74c59
commit
2b273903c4
7 changed files with 399 additions and 362 deletions
|
@ -630,7 +630,6 @@
|
|||
|
||||
- (void) display
|
||||
{
|
||||
visible = YES;
|
||||
needs_display = NO; // inform first responder
|
||||
// of it's status so it can
|
||||
[first_responder becomeFirstResponder]; // set the focus to itself
|
||||
|
@ -839,7 +838,6 @@
|
|||
[nc postNotificationName: NSWindowWillCloseNotification object: self];
|
||||
[theApp removeWindowsItem: self];
|
||||
[self orderOut: self];
|
||||
visible = NO;
|
||||
|
||||
if (is_released_when_closed)
|
||||
[self release];
|
||||
|
@ -850,7 +848,6 @@
|
|||
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
|
||||
|
||||
is_miniaturized = NO;
|
||||
visible = YES;
|
||||
|
||||
[self performDeminiaturize: self];
|
||||
[nc postNotificationName: NSWindowDidDeminiaturizeNotification object: self];
|
||||
|
@ -1097,6 +1094,8 @@
|
|||
{
|
||||
r = (GSTrackingRect *)[tr objectAtIndex: i];
|
||||
|
||||
if ([r isValid] == NO)
|
||||
continue;
|
||||
lastPointConverted = [theView convertPoint: last_point fromView: nil];
|
||||
locationConverted = [theView convertPoint: loc fromView: nil];
|
||||
|
||||
|
@ -1250,6 +1249,7 @@
|
|||
GSTrackingRect *r =(GSTrackingRect *)[theEvent userData];
|
||||
NSCursor *c = (NSCursor *)[r owner];
|
||||
|
||||
c = (NSCursor *)[r owner];
|
||||
if ([theEvent trackingNumber]) // It's a mouse entered
|
||||
{
|
||||
if (c && [c isSetOnMouseEntered])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue