]> git.eshelyaron.com Git - emacs.git/commit
End Resize flickering by copying surface rather than just clearing
authorJeff Walsh <jawalsh@localhost.localdomain>
Mon, 13 Jan 2020 05:17:50 +0000 (16:17 +1100)
committerJeff Walsh <fejfighter@gmail.com>
Sun, 22 Nov 2020 03:46:56 +0000 (14:46 +1100)
commit385e85c3dde572fd9832670feb871e3b7715b156
tree48fd74d9371d27a84f99af10addfff5cf796b1c8
parentb1cc62cac3af2c17e0a71634571128bce4d42248
End Resize flickering by copying surface rather than just clearing

* src/pgtkterm.h (struct pgtk_output): store desired sizes

* src/pgtkterm.c (FRAME_CR_SURFACE_DESIRED_HEIGHT)
(FRAME_CR_SURFACE_DESIRED_WIDTH, size_allocate, configure_event)
(pgtk_cr_update_surface_desired_size): add "desired" size for handling
surface change

* src/gtkutil.c (xg_frame_resized, xg_create_frame_widgets): remove
surface destroy, turn off double buffer call
src/gtkutil.c
src/pgtkterm.c
src/pgtkterm.h