emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r118250: Clean up merge conflict.


From: Jan D.
Subject: [Emacs-diffs] trunk r118250: Clean up merge conflict.
Date: Sat, 01 Nov 2014 20:06:55 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 118250
revision-id: address@hidden
parent: address@hidden
committer: Jan D. <address@hidden>
branch nick: trunk
timestamp: Sat 2014-11-01 21:06:49 +0100
message:
  Clean up merge conflict.
  
  * macfont.m (macfont_draw):
  * nsterm.m (ns_mouse_position, judge): Clean up merge conflict.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/macfont.m                  macfont.m-20130915173740-04lgloz0557bz98l-2
  src/nsterm.m                   nsterm.m-20091113204419-o5vbwnq5f7feedwu-8747
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-11-01 18:05:30 +0000
+++ b/src/ChangeLog     2014-11-01 20:06:49 +0000
@@ -1,5 +1,8 @@
 2014-11-01  Jan Djärv  <address@hidden>
 
+       * macfont.m (macfont_draw):
+       * nsterm.m (ns_mouse_position, judge): Clean up merge conflict.
+
        * macfont.m (macfont_glyph_extents): Turn off synthetic bold
        if force_integral_p (i.e. no antialias).
        (macfont_draw): Check ns_antialias_text, also turn off synthetic

=== modified file 'src/macfont.m'
--- a/src/macfont.m     2014-11-01 18:05:30 +0000
+++ b/src/macfont.m     2014-11-01 20:06:49 +0000
@@ -2756,7 +2756,7 @@
         atfm = synthetic_italic_atfm;
       else
         atfm = CGAffineTransformIdentity;
-      if (macfont_info->synthetic_bold_p && ! no_antialias_p))
+      if (macfont_info->synthetic_bold_p && ! no_antialias_p)
         {
           CGContextSetTextDrawingMode (context, kCGTextFillStroke);
           CGContextSetLineWidth (context, synthetic_bold_factor * font_size);

=== modified file 'src/nsterm.m'
--- a/src/nsterm.m      2014-11-01 18:05:30 +0000
+++ b/src/nsterm.m      2014-11-01 20:06:49 +0000
@@ -1916,48 +1916,13 @@
 /*fprintf (stderr, "ns_mouse_position: %.0f, %.0f\n", position.x, position.y); 
*/
 
       if (bar_window) *bar_window = Qnil;
-      if (part) *part = 0; /*scroll_bar_handle; */
+      if (part) *part = scroll_bar_above_handle;
 
       if (x) XSETINT (*x, lrint (position.x));
       if (y) XSETINT (*y, lrint (position.y));
       if (time)
         *time = dpyinfo->last_mouse_movement_time;
-      dpyinfo->last_mouse_scroll_bar = nil;
-    }
-  else
-    {
-      /* Clear the mouse-moved flag for every frame on this display.  */
-      FOR_EACH_FRAME (tail, frame)
-        if (FRAME_NS_P (XFRAME (frame))
-            && FRAME_NS_DISPLAY (XFRAME (frame)) == FRAME_NS_DISPLAY (*fp))
-          XFRAME (frame)->mouse_moved = 0;
-
-      dpyinfo->last_mouse_scroll_bar = nil;
-      if (dpyinfo->last_mouse_frame
-         && FRAME_LIVE_P (dpyinfo->last_mouse_frame))
-        f = dpyinfo->last_mouse_frame;
-      else
-        f = dpyinfo->x_focus_frame ? dpyinfo->x_focus_frame
-                                    : SELECTED_FRAME ();
-
-      if (f && FRAME_NS_P (f))
-        {
-          view = FRAME_NS_VIEW (*fp);
-
-          position = [[view window] mouseLocationOutsideOfEventStream];
-          position = [view convertPoint: position fromView: nil];
-          remember_mouse_glyph (f, position.x, position.y,
-                               &dpyinfo->last_mouse_glyph);
-
-          if (bar_window) *bar_window = Qnil;
-          if (part) *part = scroll_bar_above_handle;
-
-          if (x) XSETINT (*x, lrint (position.x));
-          if (y) XSETINT (*y, lrint (position.y));
-          if (time)
-           *time = dpyinfo->last_mouse_movement_time;
-          *fp = f;
-        }
+      *fp = f;
     }
 
   unblock_input ();
@@ -7254,9 +7219,6 @@
       view = (EmacsView *)FRAME_NS_VIEW (frame);
       if (view != nil)
         view->scrollbarsNeedingUpdate++;
-      if (!NILP (win))
-        wset_vertical_scroll_bar (XWINDOW (win), Qnil);
-      win = Qnil;
       [self removeFromSuperview];
       [self release];
       unblock_input ();


reply via email to

[Prev in Thread] Current Thread [Next in Thread]