diff options
| author | Po Lu | 2023-06-21 11:32:41 +0800 |
|---|---|---|
| committer | Po Lu | 2023-06-21 11:32:41 +0800 |
| commit | 0273cb5e6dbd6c5111f3352b7777b4efc769ba14 (patch) | |
| tree | 685032aa587055606041030e8ecc3e23273ffa58 | |
| parent | db6de49f231f863b21547173ce3ac9ab8e5e0d86 (diff) | |
| download | emacs-0273cb5e6dbd6c5111f3352b7777b4efc769ba14.tar.gz emacs-0273cb5e6dbd6c5111f3352b7777b4efc769ba14.zip | |
; * src/pgtkfns.c (frame_geometry): Fix typo in last change.
| -rw-r--r-- | src/pgtkfns.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pgtkfns.c b/src/pgtkfns.c index 9cec7243515..c154d37f47f 100644 --- a/src/pgtkfns.c +++ b/src/pgtkfns.c | |||
| @@ -3451,7 +3451,6 @@ frame_geometry (Lisp_Object frame, Lisp_Object attribute) | |||
| 3451 | tab_bar_height = FRAME_TAB_BAR_HEIGHT (f); | 3451 | tab_bar_height = FRAME_TAB_BAR_HEIGHT (f); |
| 3452 | tab_bar_width = (tab_bar_height | 3452 | tab_bar_width = (tab_bar_height |
| 3453 | ? native_width - 2 * internal_border_width : 0); | 3453 | ? native_width - 2 * internal_border_width : 0); |
| 3454 | inner_top += tab_bar_height; | ||
| 3455 | 3454 | ||
| 3456 | /* Construct list. */ | 3455 | /* Construct list. */ |
| 3457 | if (EQ (attribute, Qouter_edges)) | 3456 | if (EQ (attribute, Qouter_edges)) |
| @@ -3464,10 +3463,12 @@ frame_geometry (Lisp_Object frame, Lisp_Object attribute) | |||
| 3464 | else if (EQ (attribute, Qinner_edges)) | 3463 | else if (EQ (attribute, Qinner_edges)) |
| 3465 | return list4 (make_fixnum (native_left + internal_border_width), | 3464 | return list4 (make_fixnum (native_left + internal_border_width), |
| 3466 | make_fixnum (native_top | 3465 | make_fixnum (native_top |
| 3467 | + tool_bar_height | 3466 | + tab_bar_height |
| 3467 | + FRAME_TOOL_BAR_TOP_HEIGHT (f) | ||
| 3468 | + internal_border_width), | 3468 | + internal_border_width), |
| 3469 | make_fixnum (native_right - internal_border_width), | 3469 | make_fixnum (native_right - internal_border_width), |
| 3470 | make_fixnum (native_bottom - internal_border_width)); | 3470 | make_fixnum (native_bottom - internal_border_width |
| 3471 | - FRAME_TOOL_BAR_BOTTOM_HEIGHT (f))); | ||
| 3471 | else | 3472 | else |
| 3472 | return | 3473 | return |
| 3473 | list (Fcons (Qouter_position, | 3474 | list (Fcons (Qouter_position, |