• Eli Zaretskii's avatar
    Fix mouse-dragging mode lines on text-mode terminals. · da604136
    Eli Zaretskii authored
     lisp/mouse.el (mouse-drag-line): On text-mode frames, count the mode
     line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
     discrepancy between window-pixel-edges and mouse events, and
     avoids moving mode line up when the mouse click is on the modeline
     and no drag is attempted.
ChangeLog 586 KB