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

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

bug#5848: 23.1.95; bands of background after font change if --with-x-too


From: Jan Djärv
Subject: bug#5848: 23.1.95; bands of background after font change if --with-x-toolkit=no
Date: Tue, 06 Apr 2010 19:57:49 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4



Ted Phelps skrev 2010-04-06 16.25:

The definitions of FRAME_TEXT_LINES_TO_PIXEL_HEIGHT and
FRAME_TEXT_COLS_TO_PIXEL_WIDTH already account for the frame's internal
border, so adding them in again seems superfluous.


It would be if the internal border width was added, but it isn't. There is border_width and internal_border_width. Internal border is what Emacs uses to indicate that a frame has focus. Border width is what is sent to the X server when creating the window. That border is on the outside of the window.

Can you run in gdb and check the values for f->border_width and f->internal_border_width?

        Jan D.






reply via email to

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