diff options
author | Po Lu <luangruo@yahoo.com> | 2021-12-28 10:46:58 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2021-12-28 10:52:38 +0800 |
commit | b6b2f797d9df3e5562b946d5f4c690f8967c1b88 (patch) | |
tree | 7f13f6d262a6c2301ed467709b0ea041a770c23c /lisp/emacs-lisp/byte-run.el | |
parent | 1a724cc2d2e7f08b9fcad569c8cacf126ad55791 (diff) | |
download | emacs-b6b2f797d9df3e5562b946d5f4c690f8967c1b88.tar.gz emacs-b6b2f797d9df3e5562b946d5f4c690f8967c1b88.tar.bz2 emacs-b6b2f797d9df3e5562b946d5f4c690f8967c1b88.zip |
Fix menu placement on multiple-display setups when using lwlib
* lwlib/xlwmenu.c (fit_to_screen):
(pop_up_menu): Adjust menu position based on dimensions of the
current monitor's workarea. (bug#52809)
* src/xfns.c (x_get_monitor_attributes): Stop testing for the
RandR extension here.
(xlw_monitor_dimensions_at_pos_1):
(xlw_monitor_dimensions_at_pos): New functions.
* src/xterm.c (x_term_init): Query for the RandR extension when
connecting to a display.
* src/xterm.h (xlw_monitor_dimensions_at_pos): New prototype.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions