diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-11-01 12:45:09 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-11-01 12:45:09 +0800 |
commit | be4cbaa3aa98fa138f3e5fe50ff5483e59122c62 (patch) | |
tree | e598c332b0190ee53cbee7d592bdf7daf1cadab8 /x11-toolkits/vte/files/patch-src_vte.c | |
parent | 564e92be0fdfe8789b8d59f17b3020f1a6303daa (diff) | |
download | marcuscom-ports-be4cbaa3aa98fa138f3e5fe50ff5483e59122c62.tar marcuscom-ports-be4cbaa3aa98fa138f3e5fe50ff5483e59122c62.tar.gz marcuscom-ports-be4cbaa3aa98fa138f3e5fe50ff5483e59122c62.tar.bz2 marcuscom-ports-be4cbaa3aa98fa138f3e5fe50ff5483e59122c62.tar.lz marcuscom-ports-be4cbaa3aa98fa138f3e5fe50ff5483e59122c62.tar.xz marcuscom-ports-be4cbaa3aa98fa138f3e5fe50ff5483e59122c62.tar.zst marcuscom-ports-be4cbaa3aa98fa138f3e5fe50ff5483e59122c62.zip |
Add vte, and add a patch to fix a black screen bug that can result with
multiple tabs open each doing lots of work.
Submitted by: ahze
Obtained from: jon.nettleton@gmail.com
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3027 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/vte/files/patch-src_vte.c')
-rw-r--r-- | x11-toolkits/vte/files/patch-src_vte.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-toolkits/vte/files/patch-src_vte.c b/x11-toolkits/vte/files/patch-src_vte.c new file mode 100644 index 000000000..728569d78 --- /dev/null +++ b/x11-toolkits/vte/files/patch-src_vte.c @@ -0,0 +1,34 @@ +--- src/vte.c.orig Sun May 2 02:43:01 2004 ++++ src/vte.c Sun Oct 31 20:23:36 2004 +@@ -105,14 +105,14 @@ + #define VTE_ADJUSTMENT_PRIORITY G_PRIORITY_DEFAULT_IDLE + #define VTE_INPUT_RETRY_PRIORITY G_PRIORITY_HIGH + #define VTE_INPUT_PRIORITY G_PRIORITY_DEFAULT_IDLE +-#define VTE_CHILD_INPUT_PRIORITY G_PRIORITY_DEFAULT_IDLE ++#define VTE_CHILD_INPUT_PRIORITY G_PRIORITY_LOW + #define VTE_CHILD_OUTPUT_PRIORITY G_PRIORITY_HIGH + #define VTE_FX_PRIORITY G_PRIORITY_DEFAULT_IDLE + #define VTE_REGCOMP_FLAGS REG_EXTENDED + #define VTE_REGEXEC_FLAGS 0 + #define VTE_INPUT_CHUNK_SIZE 0x1000 + #define VTE_INVALID_BYTE '?' +-#define VTE_COALESCE_TIMEOUT 2 ++#define VTE_COALESCE_TIMEOUT 15 + + /* The structure we use to hold characters we're supposed to display -- this + * includes any supported visible attributes. */ +@@ -10534,9 +10534,13 @@ + static gint + vte_terminal_visibility_notify(GtkWidget *widget, GdkEventVisibility *event) + { ++ VteTerminal *terminal; + g_return_val_if_fail(GTK_WIDGET(widget), FALSE); + g_return_val_if_fail(VTE_IS_TERMINAL(widget), FALSE); +- (VTE_TERMINAL(widget))->pvt->visibility_state = event->state; ++ terminal = VTE_TERMINAL(widget); ++ terminal->pvt->visibility_state = event->state; ++ if (terminal->pvt->visibility_state == GDK_VISIBILITY_UNOBSCURED) ++ vte_invalidate_all(terminal); + return FALSE; + } + |