diff options
| author | Andrii Kolomoiets | 2021-02-11 10:09:41 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-02-11 10:09:41 +0100 |
| commit | 0e2b123a4ef600f5b337972a7bb61c1fc4b7d0cd (patch) | |
| tree | 1966804c5213bef9d2ce3621ff621d67de738aee /src | |
| parent | aaa80f408cbfe9419c2bc140f358604cf0b1a7c7 (diff) | |
| download | emacs-0e2b123a4ef600f5b337972a7bb61c1fc4b7d0cd.tar.gz emacs-0e2b123a4ef600f5b337972a7bb61c1fc4b7d0cd.zip | |
Use frame monitor in frame_float
* src/frame.c (frame_float): Use frame monitor attributes instead
of attributes of the main monitor (bug#46406).
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c index 635fc945604..a62347c1fb2 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, | |||
| 3890 | Lisp_Object frame; | 3890 | Lisp_Object frame; |
| 3891 | 3891 | ||
| 3892 | XSETFRAME (frame, f); | 3892 | XSETFRAME (frame, f); |
| 3893 | monitor_attributes = Fcar (call1 (Qdisplay_monitor_attributes_list, frame)); | 3893 | monitor_attributes = call1 (Qframe_monitor_attributes, frame); |
| 3894 | if (NILP (monitor_attributes)) | 3894 | if (NILP (monitor_attributes)) |
| 3895 | { | 3895 | { |
| 3896 | /* No monitor attributes available. */ | 3896 | /* No monitor attributes available. */ |
| @@ -5890,7 +5890,7 @@ syms_of_frame (void) | |||
| 5890 | DEFSYM (Qframep, "framep"); | 5890 | DEFSYM (Qframep, "framep"); |
| 5891 | DEFSYM (Qframe_live_p, "frame-live-p"); | 5891 | DEFSYM (Qframe_live_p, "frame-live-p"); |
| 5892 | DEFSYM (Qframe_windows_min_size, "frame-windows-min-size"); | 5892 | DEFSYM (Qframe_windows_min_size, "frame-windows-min-size"); |
| 5893 | DEFSYM (Qdisplay_monitor_attributes_list, "display-monitor-attributes-list"); | 5893 | DEFSYM (Qframe_monitor_attributes, "frame-monitor-attributes"); |
| 5894 | DEFSYM (Qwindow__pixel_to_total, "window--pixel-to-total"); | 5894 | DEFSYM (Qwindow__pixel_to_total, "window--pixel-to-total"); |
| 5895 | DEFSYM (Qexplicit_name, "explicit-name"); | 5895 | DEFSYM (Qexplicit_name, "explicit-name"); |
| 5896 | DEFSYM (Qheight, "height"); | 5896 | DEFSYM (Qheight, "height"); |