Mercurial > vim
comparison src/gui.h @ 26151:5a1850512676 v8.2.3607
patch 8.2.3607: GTK3 screen updating is slow
Commit: https://github.com/vim/vim/commit/9459b8d461d6f8345bfa3fb9b3b4297a7950b0bc
Author: presuku <presuku@users.noreply.github.com>
Date: Tue Nov 16 20:03:56 2021 +0000
patch 8.2.3607: GTK3 screen updating is slow
Problem: GTK3 screen updating is slow.
Solution: Remove some of the GTK3-specific code. (closes https://github.com/vim/vim/issues/9052)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 16 Nov 2021 21:15:02 +0100 |
parents | aade8ef975d5 |
children | 4482dd5f8869 |
comparison
equal
deleted
inserted
replaced
26150:a30eb3aca5a9 | 26151:5a1850512676 |
---|---|
391 GdkColor *bgcolor; // GDK-styled background color | 391 GdkColor *bgcolor; // GDK-styled background color |
392 GdkColor *spcolor; // GDK-styled special color | 392 GdkColor *spcolor; // GDK-styled special color |
393 # endif | 393 # endif |
394 # ifdef USE_GTK3 | 394 # ifdef USE_GTK3 |
395 cairo_surface_t *surface; // drawarea surface | 395 cairo_surface_t *surface; // drawarea surface |
396 gboolean by_signal; // cause of draw operation | |
397 # else | 396 # else |
398 GdkGC *text_gc; // cached GC for normal text | 397 GdkGC *text_gc; // cached GC for normal text |
399 # endif | 398 # endif |
400 PangoContext *text_context; // the context used for all text | 399 PangoContext *text_context; // the context used for all text |
401 PangoFont *ascii_font; // cached font for ASCII strings | 400 PangoFont *ascii_font; // cached font for ASCII strings |