]> git.eshelyaron.com Git - emacs.git/commit
Fix pgtk_make_frame_visible doesn't work
authorYuuki Harano <masm+github@masm11.me>
Sun, 9 May 2021 08:53:20 +0000 (17:53 +0900)
committerYuuki Harano <masm+github@masm11.me>
Sun, 9 May 2021 08:53:20 +0000 (17:53 +0900)
commitca0b1b9fe5a9eb225d4cfd1fd52f9e6e56d5fa5f
treef76c4ad582dde2b6c56691ecd34ab6ab0e90f6fb
parent647e4a92bbb771e248c640b9ea4737f928ba187e
Fix pgtk_make_frame_visible doesn't work

* src/pgtkterm.c (pgtk_wait_for_map_event): New function to wait for
map events. The content is moved from pgtk_make_frame_visible.
(pgtk_make_frame_visible): Call pgtk_wait_for_map_event, instead of
process here directly.
(pgtk_make_frame_invisible): Call pgtk_wait_for_map_event to wait
for multiple map events.
src/pgtkterm.c