}
#endif
-#if defined(FEAT_IMAGE_GDI) || defined(FEAT_IMAGE_CAIRO)
+#if defined(FEAT_IMAGE_GDI) || defined(FEAT_IMAGE_CAIRO) \
+ || defined(FEAT_IMAGE_GDK)
// GUI only: the cursor redraw and other late blits paint directly onto
// the canvas and may damage the popup images blitted by update_popups();
// restore the image layer. No-op in terminal mode.
// The surface is composed off-screen before it is exposed, so the
// repaint cannot flicker there.
return true;
-# else
- // GDI blits with SRCCOPY: a full replace, no residue.
+# elif defined(FEAT_IMAGE_GDI) || defined(FEAT_IMAGE_GDK)
+ // GDI blits with SRCCOPY: a full replace, no residue. GDK uses retained
+ // render nodes, so there is no blitting in the first place.
return false;
# endif
# endif
* here would instead paint a lower zindex image over the cells of a
* higher zindex popup drawn on top of it.
*/
-# if defined(FEAT_IMAGE_GDI) || defined(FEAT_IMAGE_CAIRO)
+# if defined(FEAT_IMAGE_GDI) || defined(FEAT_IMAGE_CAIRO) \
+ || defined(FEAT_IMAGE_GDK)
void
update_popup_images(void)
{