From: Po Lu Date: Thu, 21 Jul 2022 01:39:24 +0000 (+0800) Subject: Improve handling screen resizes when built without RandR X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~1886^2~833 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a641f55559601ad38ee6cad9dd492d18dd0f4809;p=emacs.git Improve handling screen resizes when built without RandR * src/xterm.c (handle_one_xevent): Update DND tooltip position upon ConfigureNotify for root window. --- diff --git a/src/xterm.c b/src/xterm.c index 86dc122f933..e6b098f8830 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -18670,6 +18670,10 @@ handle_one_xevent (struct x_display_info *dpyinfo, MOVE_FRAME_EVENT later. */ kbd_buffer_store_event (&inev.ie); inev.ie.kind = NO_EVENT; + + /* Also update the position of the drag-and-drop + tooltip. */ + x_dnd_update_tooltip_now (); } #endif