bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#74750: clone-frame and make-frame pixelwise issues


From: martin rudalics
Subject: bug#74750: clone-frame and make-frame pixelwise issues
Date: Wed, 11 Dec 2024 10:37:57 +0100
User-agent: Mozilla Thunderbird

> Somewhere in the bowels
> of frame.c, et.al., is an issue where text-pixels behaves differently than
> set-frame-size which is reliable on NS where make-frame using text-pixels
> is incorrect by the vertical scroll bar width. GTK it's off, too, but I
> didn't analyze that further.

If you mean that with

(progn
  (setq frame-resize-pixelwise t)
  (make-frame '((width . (text-pixels . 800)))))

then

(frame-text-width)

evaluates to 784, please try the attached patch.

Thanks, martin

Attachment: make-frame.diff
Description: Text Data


reply via email to

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