]> git.eshelyaron.com Git - emacs.git/commit
Bring pgtk more inline with X11-cairo builds
authorJeff Walsh <jawalsh@localhost.localdomain>
Tue, 14 Jan 2020 05:44:38 +0000 (16:44 +1100)
committerJeff Walsh <jeff.walsh@drtusers-MacBook-Pro.local>
Tue, 24 Nov 2020 01:24:39 +0000 (12:24 +1100)
commit975289663f353f830d121058320150ff099e809a
tree635e86cc19772786ec557e07dc9382b109a999af
parent992ef483006aad6c85138e901768fa9e1ef59784
Bring pgtk more inline with X11-cairo builds

* src/pgtkterm.h (struct pgtk_output):

* src/pgtkterm.c (FRAME_CR_ACTIVE_CONTEXT, flip_cr_context)
(x_draw_bar_cursor, pgtk_scroll_run, pgtk_update_end)
(pgtk_cr_draw_image, pgtk_flash, pgtk_handle_draw)
(pgtk_cr_update_surface_desired_size, pgtk_begin_cr_clip)
(pgtk_cr_destroy_frame_context):

* src/image.c (image_create_pattern_from_pixbuf):

- Don't create a context each time, just hold a reference

- Pull in a few cairo image changes from master

- Remove redundant code in pgtk_update_begin()
src/image.c
src/pgtkterm.c
src/pgtkterm.h