• Noam Postavsky's avatar
    Bring back the busy wait after x_make_frame_visible (Bug#25521) · e1f6e312
    Noam Postavsky authored
    But wait specfically for a MapNotify event, and only for a
    configurable amount of time.
    * src/xterm.c (syms_of_xterm) [x-wait-for-event-timeout]: New
    variable.
    (x_wait_for_event): Use it instead of hardcoding the wait to 0.1s.
    (x_make_frame_visible): Call x_wait_for_event at the end.
    * etc/NEWS: Announce x_wait_for_event.
    e1f6e312
xterm.c 391 KB