Use frame monitor in frame_float
* src/frame.c (frame_float): Use frame monitor attributes instead of attributes of the main monitor (bug#46406).
This commit is contained in:
parent
aaa80f408c
commit
0e2b123a4e
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue