simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Wed Apr 4 21:09:41 BST 2018


TL;DR:
  510187a Ignore spurious configure_area events.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2018-04-04 21:09:41

commit 510187a733218b3e290b87106e8f9918be7c8632
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=510187a733218b3e290b87106e8f9918be7c8632;hp=971b04f9de9dde0e6478300cb5d8d762ea053b1e
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Apr 3 18:57:00 2018 +0100

    Ignore spurious configure_area events.
    
    Colin Watson reports that on pre-releases of Ubuntu 18.04, configure
    events which don't actually involve a change of window size show up
    annoyingly often. Our handling of configure events involves throwing
    away the backing Cairo surface, making a fresh blank one, and
    scheduling a top-level callback to get terminal.c to do a repaint and
    populate the new surface; so a draw event before that callback occurs
    causes the window contents to flicker off and on again, not to mention
    wasting a lot of time.
    
    The simplest solution is to spot spurious configures, and respond by
    not throwing away the previous Cairo surface in the first place.

 unix/gtkwin.c | 11 +++++++++++
 1 file changed, 11 insertions(+)



More information about the tartarus-commits mailing list