Author: dpsimons
Date: Wed Jan 27 18:34:25 2016
New Revision: 39315

URL: http://svn.gna.org/viewcvs/gnustep?rev=39315&view=rev
Log:
fix invalidateCursorRectsForView: to update cursor rects for a view that didn't 
previously have any

Modified:
    libs/gui/branches/gnustep_testplant_branch/ChangeLog
    libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m

Modified: libs/gui/branches/gnustep_testplant_branch/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/ChangeLog?rev=39315&r1=39314&r2=39315&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/ChangeLog        (original)
+++ libs/gui/branches/gnustep_testplant_branch/ChangeLog        Wed Jan 27 
18:34:25 2016
@@ -1,10 +1,15 @@
+2016-01-27  Doug Simons <[email protected]>
+
+       * Source/NSWindow.m: Fix -invalidateCursorRectsForView: to
+       update cursor rects for a view that didn't previously have any.
+
 2015-11-25  Doug Simons <[email protected]>
 
        * Source/NSColorPanel.m: Fix -dragColor:withEvent:fromView: to
        show a correct color swatch while dragging on Windows (previously
        the dragged swatch always appeared black).
 
-       2015-11-23  Doug Simons <[email protected]>
+2015-11-23  Doug Simons <[email protected]>
 
        * Source/NSColorPanel.m: Improve the user experience when using
        the magnifying glass to select a color from the screen. Also,

Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m?rev=39315&r1=39314&r2=39315&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m        
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSWindow.m        Wed Jan 
27 18:34:25 2016
@@ -2765,6 +2765,7 @@
   if (aView->_rFlags.valid_rects)
     {
       [aView discardCursorRects];
+    }
 
       if (_f.cursor_rects_valid)
         {
@@ -2783,7 +2784,6 @@
             }
           _f.cursor_rects_valid = NO;
         }
-    }
 }
 
 static void


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to