]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
GTK3: give I/O events lower priority than window redraws.
authorSimon Tatham <anakin@pobox.com>
Sun, 20 Mar 2016 19:44:23 +0000 (19:44 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 20 Mar 2016 19:44:23 +0000 (19:44 +0000)
commitece38fbb211a0d0ab28e8e1356c033e3133c7db2
tree023ae3ce1cd4f5775a3c74180e3c0b57f4b64ece
parent36ddc57084e461ce2377c9f7e79aad0dd8f9d85e
GTK3: give I/O events lower priority than window redraws.

If you run something like 'seq 2000000000' in a GTK3 pterm, the window
never actually updates, because pterm always considers reading more
data from the pty to have higher priority than delivering the "draw"
event. Using g_io_add_watch_full instead of g_io_add_watch allows us
to explicitly lower the priority of the I/O sources, so that window
redraws will take precedence.
unix/gtkwin.c