]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve handling screen resizes when built without RandR
authorPo Lu <luangruo@yahoo.com>
Thu, 21 Jul 2022 01:39:24 +0000 (09:39 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 21 Jul 2022 01:39:24 +0000 (09:39 +0800)
* src/xterm.c (handle_one_xevent): Update DND tooltip position
upon ConfigureNotify for root window.

src/xterm.c

index 86dc122f93321a08c80f35f587b94ee1c0ab8e0b..e6b098f8830d1beb4943217fc0556374c75f4b10 100644 (file)
@@ -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