[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0e2b123: Use frame monitor in frame_float
From: |
Lars Ingebrigtsen |
Subject: |
master 0e2b123: Use frame monitor in frame_float |
Date: |
Thu, 11 Feb 2021 04:10:24 -0500 (EST) |
branch: master
commit 0e2b123a4ef600f5b337972a7bb61c1fc4b7d0cd
Author: Andrii Kolomoiets <andreyk.mad@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Use frame monitor in frame_float
* src/frame.c (frame_float): Use frame monitor attributes instead
of attributes of the main monitor (bug#46406).
---
src/frame.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/frame.c b/src/frame.c
index 635fc94..a62347c 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -3890,7 +3890,7 @@ frame_float (struct frame *f, Lisp_Object val, enum
frame_float_type what,
Lisp_Object frame;
XSETFRAME (frame, f);
- monitor_attributes = Fcar (call1
(Qdisplay_monitor_attributes_list, frame));
+ monitor_attributes = call1 (Qframe_monitor_attributes, frame);
if (NILP (monitor_attributes))
{
/* No monitor attributes available. */
@@ -5890,7 +5890,7 @@ syms_of_frame (void)
DEFSYM (Qframep, "framep");
DEFSYM (Qframe_live_p, "frame-live-p");
DEFSYM (Qframe_windows_min_size, "frame-windows-min-size");
- DEFSYM (Qdisplay_monitor_attributes_list, "display-monitor-attributes-list");
+ DEFSYM (Qframe_monitor_attributes, "frame-monitor-attributes");
DEFSYM (Qwindow__pixel_to_total, "window--pixel-to-total");
DEFSYM (Qexplicit_name, "explicit-name");
DEFSYM (Qheight, "height");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 0e2b123: Use frame monitor in frame_float,
Lars Ingebrigtsen <=