summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2013-01-19 16:28:47 -0800
committerDan Nicholson <dbn.lists@gmail.com>2013-01-19 16:28:47 -0800
commit06e7ec064faa2a41a6665f335294c16775592eef (patch)
tree9cef97e9b7cb47854c95ddaa395921032e56953a /src
parent47fc338f8ed28b44ba7cc9cebee3d2eb675e375f (diff)
Only force redrawing when the plugin is in-process
Out-of-process GtkPlug seems to work fine, so let's reserve this hack only for when it's needed.
Diffstat (limited to 'src')
-rw-r--r--src/evbp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/evbp.c b/src/evbp.c
index b6e6ff1..8971021 100644
--- a/src/evbp.c
+++ b/src/evbp.c
@@ -291,7 +291,8 @@ evbp_stream_as_file(NPP instance, NPStream *stream, const char *fname)
g_error_free(error);
return;
}
- evbp_force_redraw(instance);
+ if (priv->in_process)
+ evbp_force_redraw(instance);
}
static void